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 staticRouter.use( STATIC_PATHS.TORRENTS, cors(), - express.static(torrentsPhysicalPath, { maxAge: STATIC_MAX_AGE }) + express.static(torrentsPhysicalPath, { maxAge: 0 }) // Don't cache because we could regenerate the torrent file ) // Videos path for webseeding