mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-30 20:24:05 +01:00
Add new api route for downloading backup, remove static metadata route
This commit is contained in:
1 parent
5b0d105e21
commit
aeba7674f8
5 files changed
+33
-17
No files matched your search
@@ -159,9 +159,6 @@ class Server {
|
||||
const distPath = Path.join(global.appRoot, '/client/dist')
|
||||
router.use(express.static(distPath))
|
||||
|
||||
// Metadata folder static path
|
||||
router.use('/metadata', this.authMiddleware.bind(this), express.static(global.MetadataPath))
|
||||
|
||||
// Static folder
|
||||
router.use(express.static(Path.join(global.appRoot, 'static')))
|
||||
|
||||
|
||||
Reference in new issue
Block a user