Add /playlist/:id to dynamic routes

This commit is contained in:
advplyr 2022-11-27 14:23:28 -06:00
parent c1360267c6
commit 0fcf978ffe

View File

@ -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'))))