aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-17 19:04:41 +0200
committerChocobozzz <me@florianbigard.com>2018-07-17 19:04:41 +0200
commit57a81ff649fa8c0d17505e4a7c5ab1001887b22a (patch)
treec1683fa1ddcf8630220298c0e77fba3d70b06d35 /server/initializers
parent57bf30a984ccbe58e1506f903055a15c1ddaf8f2 (diff)
downloadPeerTube-57a81ff649fa8c0d17505e4a7c5ab1001887b22a.tar.gz
PeerTube-57a81ff649fa8c0d17505e4a7c5ab1001887b22a.tar.zst
PeerTube-57a81ff649fa8c0d17505e4a7c5ab1001887b22a.zip
Fix static avatars/thumbnails cache
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 3837f7062..b11f0753f 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -429,7 +429,7 @@ const STATIC_DOWNLOAD_PATHS = {
429} 429}
430 430
431// Cache control 431// Cache control
432let STATIC_MAX_AGE = '30d' 432let STATIC_MAX_AGE = '2h'
433 433
434// Videos thumbnail size 434// Videos thumbnail size
435const THUMBNAILS_SIZE = { 435const THUMBNAILS_SIZE = {