refactor: move banner to consts, closer to version

This commit is contained in:
Deluan
2020-02-04 10:14:53 -05:00
parent 0996272943
commit d1f8d39866
2 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -2,12 +2,13 @@ package main
import (
"github.com/deluan/navidrome/conf"
"github.com/deluan/navidrome/consts"
"github.com/deluan/navidrome/db"
)
func main() {
if !conf.Server.DevDisableBanner {
ShowBanner()
println(consts.Banner())
}
conf.Load()