aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-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 b20bafc76..8fbf9cc97 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -18,7 +18,7 @@ const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR
18staticRouter.use( 18staticRouter.use(
19 STATIC_PATHS.TORRENTS, 19 STATIC_PATHS.TORRENTS,
20 cors(), 20 cors(),
21 express.static(torrentsPhysicalPath, { maxAge: STATIC_MAX_AGE }) 21 express.static(torrentsPhysicalPath, { maxAge: 0 }) // Don't cache because we could regenerate the torrent file
22) 22)
23 23
24// Videos path for webseeding 24// Videos path for webseeding