aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/config.ts2
-rw-r--r--server/initializers/constants.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 04ba605b6..b40e525a5 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -125,7 +125,7 @@ const CONFIG = {
125 CSP: { 125 CSP: {
126 ENABLED: config.get<boolean>('csp.enabled'), 126 ENABLED: config.get<boolean>('csp.enabled'),
127 REPORT_ONLY: config.get<boolean>('csp.report_only'), 127 REPORT_ONLY: config.get<boolean>('csp.report_only'),
128 REPORT_URI: config.get<boolean>('csp.report_uri') 128 REPORT_URI: config.get<string>('csp.report_uri')
129 }, 129 },
130 TRACKER: { 130 TRACKER: {
131 ENABLED: config.get<boolean>('tracker.enabled'), 131 ENABLED: config.get<boolean>('tracker.enabled'),
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index c26c3a88c..171e9e9c2 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -545,8 +545,8 @@ const STATIC_DOWNLOAD_PATHS = {
545} 545}
546const LAZY_STATIC_PATHS = { 546const LAZY_STATIC_PATHS = {
547 AVATARS: '/lazy-static/avatars/', 547 AVATARS: '/lazy-static/avatars/',
548 PREVIEWS: '/static/previews/', 548 PREVIEWS: '/lazy-static/previews/',
549 VIDEO_CAPTIONS: '/static/video-captions/' 549 VIDEO_CAPTIONS: '/lazy-static/video-captions/'
550} 550}
551 551
552// Cache control 552// Cache control