mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add flag to disable startup banner
This commit is contained in:
parent
be377846a8
commit
ca2c897340
2 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,9 @@ type Server struct {
|
|||
|
||||
func New(importer *scanner_legacy.Importer) *Server {
|
||||
a := &Server{Importer: importer}
|
||||
showBanner(Version)
|
||||
if !conf.Sonic.DevDisableBanner {
|
||||
showBanner(Version)
|
||||
}
|
||||
initMimeTypes()
|
||||
a.initRoutes()
|
||||
a.initImporter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue