Add devEnableShare config option (#1141)

* add devEnableShare config option

* Toggle in config.js
This commit is contained in:
Yash Jipkate
2021-05-31 01:06:10 +05:30
committed by GitHub
parent 327c259a3d
commit 7b05c49215
4 changed files with 14 additions and 0 deletions
+1
View File
@@ -49,6 +49,7 @@ func serveIndex(ds model.DataStore, fs fs.FS) http.HandlerFunc {
"devActivityPanel": conf.Server.DevActivityPanel,
"devFastAccessCoverArt": conf.Server.DevFastAccessCoverArt,
"enableUserEditing": conf.Server.EnableUserEditing,
"devEnableShare": conf.Server.DevEnableShare,
}
j, err := json.Marshal(appConfig)
if err != nil {