aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-04 21:45:05 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-04 21:45:05 +0200
commit980246ea8f1c51a137eaf0c441ef7e3b6fb88810 (patch)
tree0ce1339bc1d56a2dfd35935fe4f0303df8f75eca /server/initializers/constants.ts
parent8221fef0f9d9b426fa498840d3f4fe2abfe19788 (diff)
downloadPeerTube-980246ea8f1c51a137eaf0c441ef7e3b6fb88810.tar.gz
PeerTube-980246ea8f1c51a137eaf0c441ef7e3b6fb88810.tar.zst
PeerTube-980246ea8f1c51a137eaf0c441ef7e3b6fb88810.zip
Make tslint happy
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 2e3472d1e..e6af406e3 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -77,7 +77,7 @@ const CONFIG = {
77 }, 77 },
78 SIGNUP: { 78 SIGNUP: {
79 ENABLED: config.get<boolean>('signup.enabled'), 79 ENABLED: config.get<boolean>('signup.enabled'),
80 LIMIT: config.get<number>('signup.limit'), 80 LIMIT: config.get<number>('signup.limit')
81 }, 81 },
82 USER: { 82 USER: {
83 VIDEO_QUOTA: config.get<number>('user.video_quota') 83 VIDEO_QUOTA: config.get<number>('user.video_quota')
@@ -298,7 +298,7 @@ let STATIC_MAX_AGE = '30d'
298const THUMBNAILS_SIZE = '200x110' 298const THUMBNAILS_SIZE = '200x110'
299const PREVIEWS_SIZE = '640x480' 299const PREVIEWS_SIZE = '640x480'
300 300
301// Subfolders of cache directory 301// Sub folders of cache directory
302const CACHE = { 302const CACHE = {
303 DIRECTORIES: { 303 DIRECTORIES: {
304 PREVIEWS: join(CONFIG.STORAGE.CACHE_DIR, 'previews') 304 PREVIEWS: join(CONFIG.STORAGE.CACHE_DIR, 'previews')