mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Restore DefaultLanguage case-sensitiveness by reverting commit bfeb8ef6b3
.
Language code should be case-sensitive. Fix #1946. Supersedes #1947.
This commit is contained in:
parent
af5c2b5a42
commit
aab4925dfc
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ func serveIndex(ds model.DataStore, fs fs.FS) http.HandlerFunc {
|
|||
"enableFavourites": conf.Server.EnableFavourites,
|
||||
"enableStarRating": conf.Server.EnableStarRating,
|
||||
"defaultTheme": conf.Server.DefaultTheme,
|
||||
"defaultLanguage": strings.ToLower(conf.Server.DefaultLanguage),
|
||||
"defaultLanguage": conf.Server.DefaultLanguage,
|
||||
"enableCoverAnimation": conf.Server.EnableCoverAnimation,
|
||||
"gaTrackingId": conf.Server.GATrackingID,
|
||||
"losslessFormats": strings.ToUpper(strings.Join(consts.LosslessFormats, ",")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue