mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Expose Last.fm's ApiKey to UI
This commit is contained in:
parent
143cde37e5
commit
1f997357a9
8 changed files with 30 additions and 22 deletions
|
@ -45,6 +45,7 @@ func serveIndex(ds model.DataStore, fs fs.FS) http.HandlerFunc {
|
|||
"enableUserEditing": conf.Server.EnableUserEditing,
|
||||
"devEnableShare": conf.Server.DevEnableShare,
|
||||
"devEnableScrobble": conf.Server.DevEnableScrobble,
|
||||
"lastFMApiKey": conf.Server.LastFM.ApiKey,
|
||||
}
|
||||
auth := handleLoginFromHeaders(ds, r)
|
||||
if auth != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue