Add option to enable (experimental) playlists in UI

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-05-16 18:35:34 -04:00
1 parent 0ca79eead4
commit f881e2a54b
4 files changed
+11 -5

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ func ServeIndex(ds model.DataStore, fs http.FileSystem) http.HandlerFunc {
"baseURL": strings.TrimSuffix(conf.Server.BaseURL, "/"),
"loginBackgroundURL": conf.Server.UILoginBackgroundURL,
"enableTranscodingConfig": conf.Server.EnableTranscodingConfig,
"enablePlaylists": conf.Server.DevEnableUIPlaylists,
}
j, err := json.Marshal(appConfig)
if err != nil {