mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix startup order, setting LogLevel
This commit is contained in:
parent
1e582bec5c
commit
28cd3ec3e4
4 changed files with 12 additions and 7 deletions
|
@ -14,6 +14,6 @@ Version %s
|
|||
|
||||
`
|
||||
|
||||
func showBanner(version string) {
|
||||
fmt.Printf(banner, version)
|
||||
func ShowBanner() {
|
||||
fmt.Printf(banner, Version)
|
||||
}
|
||||
|
|
|
@ -25,9 +25,6 @@ type Server struct {
|
|||
|
||||
func New(scanner *scanner.Scanner, ds model.DataStore) *Server {
|
||||
a := &Server{Scanner: scanner, ds: ds}
|
||||
if !conf.Sonic.DevDisableBanner {
|
||||
showBanner(Version)
|
||||
}
|
||||
initMimeTypes()
|
||||
initialSetup(ds)
|
||||
a.initRoutes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue