mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-25 02:09:14 +02:00
Add new api route for downloading backup, remove static metadata route
This commit is contained in:
parent
5b0d105e21
commit
aeba7674f8
5 changed files with 33 additions and 17 deletions
|
@ -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')))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue