Rename DevEnableShare to EnableSharing

This commit is contained in:
Deluan
2023-01-29 20:33:10 -05:00
parent a651d65a5b
commit 68e6115789
14 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ func (api *Router) routes() http.Handler {
h(r, "getInternetRadioStations", api.GetInternetRadios)
h(r, "updateInternetRadioStation", api.UpdateInternetRadio)
})
if conf.Server.DevEnableShare {
if conf.Server.EnableSharing {
r.Group(func(r chi.Router) {
h(r, "getShares", api.GetShares)
h(r, "createShare", api.CreateShare)