From cedfdd85c6b1f94cccfcfd494a6fe6e87be6b1ee Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Mon, 26 Sep 2022 18:18:13 +0200 Subject: [PATCH] fix web styles config --- services/web/pkg/config/config.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/services/web/pkg/config/config.go b/services/web/pkg/config/config.go index 56cfc7873fb..ff0f7133def 100644 --- a/services/web/pkg/config/config.go +++ b/services/web/pkg/config/config.go @@ -32,15 +32,15 @@ type Asset struct { // WebConfig defines the available web configuration for a dynamically rendered config.json. type WebConfig struct { - Server string `json:"server,omitempty" yaml:"server" env:"OCIS_URL;WEB_UI_CONFIG_SERVER" desc:"URL, where the oCIS APIs are reachable for ownCloud Web."` - Theme string `json:"theme,omitempty" yaml:"-"` - OpenIDConnect OIDC `json:"openIdConnect,omitempty" yaml:"oidc"` - Apps []string `json:"apps" yaml:"apps"` - Applications []Application `json:"applications,omitempty" yaml:"applications"` - ExternalApps []ExternalApp `json:"external_apps,omitempty" yaml:"external_apps"` - Options map[string]interface{} `json:"options,omitempty" yaml:"options"` - Scripts []interface{} `json:"scripts,omitempty" yaml:"scripts"` - Styles []interface{} `json:"styles,omitempty" yaml:"styles"` + Server string `json:"server,omitempty" yaml:"server" env:"OCIS_URL;WEB_UI_CONFIG_SERVER" desc:"URL, where the oCIS APIs are reachable for ownCloud Web."` + Theme string `json:"theme,omitempty" yaml:"-"` + OpenIDConnect OIDC `json:"openIdConnect,omitempty" yaml:"oidc"` + Apps []string `json:"apps" yaml:"apps"` + Applications []Application `json:"applications,omitempty" yaml:"applications"` + ExternalApps []ExternalApp `json:"external_apps,omitempty" yaml:"external_apps"` + Options map[string]interface{} `json:"options,omitempty" yaml:"options"` + Scripts []map[string]interface{} `json:"scripts,omitempty" yaml:"scripts"` + Styles []map[string]interface{} `json:"styles,omitempty" yaml:"styles"` } // OIDC defines the available oidc configuration