diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index ba8b9b6ed..5b7ea5d6c 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -57,6 +57,7 @@ const OAUTH_LIFETIME = { | |||
57 | const ROUTE_CACHE_LIFETIME = { | 57 | const ROUTE_CACHE_LIFETIME = { |
58 | FEEDS: '15 minutes', | 58 | FEEDS: '15 minutes', |
59 | ROBOTS: '2 hours', | 59 | ROBOTS: '2 hours', |
60 | SECURITYTXT: '2 hours', | ||
60 | NODEINFO: '10 minutes', | 61 | NODEINFO: '10 minutes', |
61 | DNT_POLICY: '1 week', | 62 | DNT_POLICY: '1 week', |
62 | OVERVIEWS: { | 63 | OVERVIEWS: { |
@@ -265,7 +266,9 @@ const CONFIG = { | |||
265 | get JAVASCRIPT () { return config.get<string>('instance.customizations.javascript') }, | 266 | get JAVASCRIPT () { return config.get<string>('instance.customizations.javascript') }, |
266 | get CSS () { return config.get<string>('instance.customizations.css') } | 267 | get CSS () { return config.get<string>('instance.customizations.css') } |
267 | }, | 268 | }, |
268 | get ROBOTS () { return config.get<string>('instance.robots') } | 269 | get ROBOTS () { return config.get<string>('instance.robots') }, |
270 | get SECURITYTXT () { return config.get<string>('instance.securitytxt') }, | ||
271 | get SECURITYTXT_CONTACT () { return config.get<string>('admin.email') } | ||
269 | }, | 272 | }, |
270 | SERVICES: { | 273 | SERVICES: { |
271 | TWITTER: { | 274 | TWITTER: { |