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.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 7cc7f2c62..4baa31117 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -34,6 +34,7 @@ staticRouter.use(cors())
34*/ 34*/
35 35
36// FIXME: deprecated in 3.2, use lazy-statics instead 36// FIXME: deprecated in 3.2, use lazy-statics instead
37// Due to historical reasons, we can't really remove this controller
37const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR 38const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR
38staticRouter.use( 39staticRouter.use(
39 STATIC_PATHS.TORRENTS, 40 STATIC_PATHS.TORRENTS,