mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 05:27:37 +03:00
13 lines
221 B
Go
13 lines
221 B
Go
package main
|
|
|
|
import (
|
|
"github.com/cloudsonic/sonic-server/conf"
|
|
)
|
|
|
|
func main() {
|
|
conf.Load()
|
|
|
|
a := CreateApp(conf.Sonic.MusicFolder)
|
|
a.MountRouter("/rest/", CreateSubsonicAPIRouter())
|
|
a.Run(":" + conf.Sonic.Port)
|
|
}
|