Rename ListenBrainz config flag and enable by default (#1443)

This commit is contained in:
Steve Richter
2021-11-17 21:11:53 -05:00
committed by GitHub
parent da26c5cfe0
commit 3bd6f82c80
8 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ func startServer() (func() error, func(err error)) {
if conf.Server.LastFM.Enabled {
a.MountRouter("LastFM Auth", consts.URLPathNativeAPI+"/lastfm", CreateLastFMRouter())
}
if conf.Server.DevListenBrainzEnabled {
if conf.Server.ListenBrainz.Enabled {
a.MountRouter("ListenBrainz Auth", consts.URLPathNativeAPI+"/listenbrainz", CreateListenBrainzRouter())
}
return a.Run(fmt.Sprintf("%s:%d", conf.Server.Address, conf.Server.Port))