Verified Commit 37cd44d0 authored by Chocobozzz's avatar Chocobozzz
Browse files

Remove deprecated torrent static route

parent cf0c8ee5
......@@ -32,14 +32,6 @@ staticRouter.use(cors())
Cors is very important to let other servers access torrent and video files
// FIXME: deprecated in 3.2, use lazy-statics instead
// Due to historical reasons, we can't really remove this controller
const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR
express.static(torrentsPhysicalPath, { maxAge: 0 }) // Don't cache because we could regenerate the torrent file
// Videos path for webseed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment