aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 0ede45620..0d9a6a512 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -229,6 +229,11 @@ const CONFIG = {
229 STRATEGIES: buildVideosRedundancy(config.get<any[]>('redundancy.videos.strategies')) 229 STRATEGIES: buildVideosRedundancy(config.get<any[]>('redundancy.videos.strategies'))
230 } 230 }
231 }, 231 },
232 CSP: {
233 ENABLED: config.get<boolean>('csp.enabled'),
234 REPORT_ONLY: config.get<boolean>('csp.report_only'),
235 REPORT_URI: config.get<boolean>('csp.report_uri')
236 },
232 ADMIN: { 237 ADMIN: {
233 get EMAIL () { return config.get<string>('admin.email') } 238 get EMAIL () { return config.get<string>('admin.email') }
234 }, 239 },
@@ -300,7 +305,6 @@ const CONFIG = {
300 get SECURITYTXT_CONTACT () { return config.get<string>('admin.email') } 305 get SECURITYTXT_CONTACT () { return config.get<string>('admin.email') }
301 }, 306 },
302 SERVICES: { 307 SERVICES: {
303 get 'CSP-LOGGER' () { return config.get<string>('services.csp-logger') },
304 TWITTER: { 308 TWITTER: {
305 get USERNAME () { return config.get<string>('services.twitter.username') }, 309 get USERNAME () { return config.get<string>('services.twitter.username') },
306 get WHITELISTED () { return config.get<boolean>('services.twitter.whitelisted') } 310 get WHITELISTED () { return config.get<boolean>('services.twitter.whitelisted') }