mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-26 00:29:53 +01:00
Add /playlist/:id to dynamic routes
This commit is contained in:
parent
c1360267c6
commit
0fcf978ffe
@ -206,7 +206,8 @@ class Server {
|
|||||||
'/library/:library/podcast/latest',
|
'/library/:library/podcast/latest',
|
||||||
'/config/users/:id',
|
'/config/users/:id',
|
||||||
'/config/users/:id/sessions',
|
'/config/users/:id/sessions',
|
||||||
'/collection/:id'
|
'/collection/:id',
|
||||||
|
'/playlist/:id'
|
||||||
]
|
]
|
||||||
dyanimicRoutes.forEach((route) => router.get(route, (req, res) => res.sendFile(Path.join(distPath, 'index.html'))))
|
dyanimicRoutes.forEach((route) => router.get(route, (req, res) => res.sendFile(Path.join(distPath, 'index.html'))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user