diff options
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 1f374dea9..baf502305 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -99,6 +99,13 @@ const CONFIG = { | |||
99 | MAX_AGE: parseDurationToMs(config.get('history.videos.max_age')) | 99 | MAX_AGE: parseDurationToMs(config.get('history.videos.max_age')) |
100 | } | 100 | } |
101 | }, | 101 | }, |
102 | VIEWS: { | ||
103 | VIDEOS: { | ||
104 | REMOTE: { | ||
105 | MAX_AGE: parseDurationToMs(config.get('views.videos.remote.max_age')) | ||
106 | } | ||
107 | } | ||
108 | }, | ||
102 | ADMIN: { | 109 | ADMIN: { |
103 | get EMAIL () { return config.get<string>('admin.email') } | 110 | get EMAIL () { return config.get<string>('admin.email') } |
104 | }, | 111 | }, |