diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-26 15:03:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-26 15:03:00 +0200 |
commit | 20dcfd74982f4ec8a143696abed02b059d30d9ec (patch) | |
tree | 8956b19749f7d95a3a0e1b17c57c9b73a9ca6497 /server/initializers/constants.ts | |
parent | 000ca2a898a36214bbf8f787fef4af4cf5ad3c8d (diff) | |
download | PeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.tar.gz PeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.tar.zst PeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.zip |
Deprecate old static routes
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index c26c3a88c..171e9e9c2 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -545,8 +545,8 @@ const STATIC_DOWNLOAD_PATHS = { | |||
545 | } | 545 | } |
546 | const LAZY_STATIC_PATHS = { | 546 | const LAZY_STATIC_PATHS = { |
547 | AVATARS: '/lazy-static/avatars/', | 547 | AVATARS: '/lazy-static/avatars/', |
548 | PREVIEWS: '/static/previews/', | 548 | PREVIEWS: '/lazy-static/previews/', |
549 | VIDEO_CAPTIONS: '/static/video-captions/' | 549 | VIDEO_CAPTIONS: '/lazy-static/video-captions/' |
550 | } | 550 | } |
551 | 551 | ||
552 | // Cache control | 552 | // Cache control |