diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-18 14:06:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-18 14:08:16 +0100 |
commit | 53c06121a45a2ec943002833a0152bbfd4856ee4 (patch) | |
tree | e934d6ac102d5f7b29fe3316f57d6d2164aceeb9 /server/controllers | |
parent | 8efc27bf14f1fe3ed23cd8a6d2de1f0918a7f769 (diff) | |
download | PeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.tar.gz PeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.tar.zst PeerTube-53c06121a45a2ec943002833a0152bbfd4856ee4.zip |
Fix import tests
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/static.ts | 1 |
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 | ||
37 | const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR | 38 | const torrentsPhysicalPath = CONFIG.STORAGE.TORRENTS_DIR |
38 | staticRouter.use( | 39 | staticRouter.use( |
39 | STATIC_PATHS.TORRENTS, | 40 | STATIC_PATHS.TORRENTS, |