aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/static.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/static.ts')
-rw-r--r--server/controllers/static.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 1600068e0..8de9c5a78 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -31,7 +31,7 @@ const videosPhysicalPath = CONFIG.STORAGE.VIDEOS_DIR
31staticRouter.use( 31staticRouter.use(
32 STATIC_PATHS.WEBSEED, 32 STATIC_PATHS.WEBSEED,
33 cors(), 33 cors(),
34 express.static(videosPhysicalPath, { maxAge: STATIC_MAX_AGE }) 34 express.static(videosPhysicalPath)
35) 35)
36staticRouter.use( 36staticRouter.use(
37 STATIC_DOWNLOAD_PATHS.VIDEOS + ':id-:resolution([0-9]+).:extension', 37 STATIC_DOWNLOAD_PATHS.VIDEOS + ':id-:resolution([0-9]+).:extension',