feat: move custom logo setting to api
This commit is contained in:
@ -63,6 +63,7 @@ const (
|
||||
ServiceEnableUserDeletion Key = `service.enableuserdeletion`
|
||||
ServiceMaxAvatarSize Key = `service.maxavatarsize`
|
||||
ServiceAllowIconChanges Key = `service.allowiconchanges`
|
||||
ServiceCustomLogoURL Key = `service.customlogourl`
|
||||
|
||||
SentryEnabled Key = `sentry.enabled`
|
||||
SentryDsn Key = `sentry.dsn`
|
||||
|
@ -79,7 +79,7 @@ func serveIndexFile(c echo.Context, assetFs http.FileSystem) (err error) {
|
||||
if config.ServiceAllowIconChanges.GetBool() {
|
||||
data["ALLOW_ICON_CHANGES"] = "true"
|
||||
}
|
||||
data["CUSTOM_LOGO_URL"] = "" // TODO
|
||||
data["CUSTOM_LOGO_URL"] = config.ServiceCustomLogoURL.GetString()
|
||||
|
||||
err = tmpl.Execute(&tplOutput, data)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user