aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-18 14:06:12 +0100
committerChocobozzz <me@florianbigard.com>2021-02-18 14:08:16 +0100
commit53c06121a45a2ec943002833a0152bbfd4856ee4 (patch)
treee934d6ac102d5f7b29fe3316f57d6d2164aceeb9 /server/controllers
parent8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769 (diff)
downloadPeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.tar.gz
PeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.tar.zst
PeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.zip
Fix import tests
Diffstat (limited to 'server/controllers')
-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,