aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index a35306730..26ee3db47 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -389,6 +389,10 @@ const STATIC_PATHS = {
389 WEBSEED: '/static/webseed/', 389 WEBSEED: '/static/webseed/',
390 AVATARS: '/static/avatars/' 390 AVATARS: '/static/avatars/'
391} 391}
392const STATIC_DOWNLOAD_PATHS = {
393 TORRENTS: '/download/torrents/',
394 VIDEOS: '/download/videos/'
395}
392 396
393// Cache control 397// Cache control
394let STATIC_MAX_AGE = '30d' 398let STATIC_MAX_AGE = '30d'
@@ -493,6 +497,7 @@ export {
493 USER_PASSWORD_RESET_LIFETIME, 497 USER_PASSWORD_RESET_LIFETIME,
494 IMAGE_MIMETYPE_EXT, 498 IMAGE_MIMETYPE_EXT,
495 SCHEDULER_INTERVAL, 499 SCHEDULER_INTERVAL,
500 STATIC_DOWNLOAD_PATHS,
496 RATES_LIMIT, 501 RATES_LIMIT,
497 JOB_COMPLETED_LIFETIME, 502 JOB_COMPLETED_LIFETIME,
498 VIDEO_VIEW_LIFETIME 503 VIDEO_VIEW_LIFETIME