mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Add flag to disable Scrobble config in the UI
This commit is contained in:
parent
a4f91b74d2
commit
ffa76bba6a
6 changed files with 60 additions and 0 deletions
|
@ -44,6 +44,7 @@ func serveIndex(ds model.DataStore, fs fs.FS) http.HandlerFunc {
|
|||
"devFastAccessCoverArt": conf.Server.DevFastAccessCoverArt,
|
||||
"enableUserEditing": conf.Server.EnableUserEditing,
|
||||
"devEnableShare": conf.Server.DevEnableShare,
|
||||
"devEnableScrobble": conf.Server.DevEnableScrobble,
|
||||
}
|
||||
auth := handleLoginFromHeaders(ds, r)
|
||||
if auth != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue