Add BaseURL configuration (fixes #103)

This commit is contained in:
Deluan
2020-04-03 17:50:42 -04:00
parent b8eb22d162
commit 75cd21da1f
17 changed files with 61 additions and 25 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ func CreateServer(musicFolder string) *server.Server {
return serverServer
}
func CreateAppRouter(path string) *app.Router {
func CreateAppRouter() *app.Router {
dataStore := persistence.New()
router := app.New(dataStore, path)
router := app.New(dataStore)
return router
}