mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Fix static avatars/thumbnails cache
This commit is contained in:
parent
57bf30a984
commit
57a81ff649
3 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,7 @@ const videosPhysicalPath = CONFIG.STORAGE.VIDEOS_DIR
|
|||
staticRouter.use(
|
||||
STATIC_PATHS.WEBSEED,
|
||||
cors(),
|
||||
express.static(videosPhysicalPath, { maxAge: STATIC_MAX_AGE })
|
||||
express.static(videosPhysicalPath)
|
||||
)
|
||||
staticRouter.use(
|
||||
STATIC_DOWNLOAD_PATHS.VIDEOS + ':id-:resolution([0-9]+).:extension',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue