Fix download requests, v1.4.0 rollout

This commit is contained in:
advplyr 2021-10-06 07:23:32 -05:00
parent d9d34e87e0
commit 19dcb6173e
4 changed files with 7 additions and 7 deletions

View file

@ -127,6 +127,9 @@ class Server {
// Metadata folder static path
app.use('/metadata', this.authMiddleware.bind(this), express.static(this.MetadataPath))
// Downloads folder static path
app.use('/downloads', this.authMiddleware.bind(this), express.static(this.downloadManager.downloadDirPath))
// Static folder
app.use(express.static(Path.join(global.appRoot, 'static')))