mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
refactor: better integration between db
and persistence
packages
Will address support for different DBs in the future (+1 squashed commit) Squashed commits: [a014757] refactor: better integration between `db` and `persistence` packages
This commit is contained in:
parent
76ca8afc84
commit
7e65bb8f20
4 changed files with 30 additions and 27 deletions
2
main.go
2
main.go
|
@ -11,7 +11,7 @@ func main() {
|
|||
}
|
||||
|
||||
conf.Load()
|
||||
db.EnsureDB()
|
||||
db.EnsureLatestVersion()
|
||||
|
||||
a := CreateServer(conf.Server.MusicFolder)
|
||||
a.MountRouter("/rest", CreateSubsonicAPIRouter())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue