mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
Simplify resources code, enabling any resource to be overridden (not just translations)
This commit is contained in:
1 parent
9072412812
commit
fa3471f527
6 files changed
+30
-20
No files matched your search
+2
-1
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/navidrome/navidrome/consts"
|
||||
"github.com/navidrome/navidrome/db"
|
||||
"github.com/navidrome/navidrome/log"
|
||||
"github.com/navidrome/navidrome/resources"
|
||||
"github.com/navidrome/navidrome/scheduler"
|
||||
"github.com/oklog/run"
|
||||
"github.com/spf13/cobra"
|
||||
@@ -45,7 +46,7 @@ func Execute() {
|
||||
|
||||
func preRun() {
|
||||
if !noBanner {
|
||||
println(consts.Banner())
|
||||
println(resources.Banner())
|
||||
}
|
||||
conf.Load()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user