1
0

feat: move allow icon changes setting to api

This commit is contained in:
kolaente
2024-02-09 14:30:21 +01:00
parent 0f28767acc
commit d7dc209f15
4 changed files with 9 additions and 4 deletions

View File

@ -75,8 +75,11 @@ func serveIndexFile(c echo.Context, assetFs http.FileSystem) (err error) {
data["SENTRY_ENABLED"] = "true"
}
data["SENTRY_DSN"] = config.SentryFrontendDsn.GetString()
data["ALLOW_ICON_CHANGES"] = "true" // TODO
data["CUSTOM_LOGO_URL"] = "" // TODO
data["ALLOW_ICON_CHANGES"] = "false"
if config.ServiceAllowIconChanges.GetBool() {
data["ALLOW_ICON_CHANGES"] = "true"
}
data["CUSTOM_LOGO_URL"] = "" // TODO
err = tmpl.Execute(&tplOutput, data)
if err != nil {