navidrome/main.go

14 lines
221 B
Go
Raw Normal View History

2016-02-24 00:41:35 +01:00
package main
import (
2017-04-01 15:47:14 +02:00
"github.com/cloudsonic/sonic-server/conf"
2016-02-24 00:41:35 +01:00
)
func main() {
2020-01-08 16:25:23 +01:00
conf.Load()
2016-03-30 06:05:57 +02:00
a := CreateApp(conf.Sonic.MusicFolder)
a.MountRouter("/rest/", CreateSubsonicAPIRouter())
a.Run(":" + conf.Sonic.Port)
2016-02-24 00:41:35 +01:00
}