diff --git a/deployments/examples/ocis_hello/config/ocis/web-config.dist.json b/deployments/examples/ocis_hello/config/ocis/web-config.dist.json index f8dc0ab6f9..1a8b7f8b85 100644 --- a/deployments/examples/ocis_hello/config/ocis/web-config.dist.json +++ b/deployments/examples/ocis_hello/config/ocis/web-config.dist.json @@ -1,6 +1,6 @@ { "server": "https://ocis.owncloud.test", - "theme": "owncloud", + "theme": "https://ocis.owncloud.test/themes/owncloud/theme.json", "version": "0.1.0", "openIdConnect": { "metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration", diff --git a/tests/config/drone/ocis-config.json b/tests/config/drone/ocis-config.json index a11c3b72fd..86a064b5c4 100644 --- a/tests/config/drone/ocis-config.json +++ b/tests/config/drone/ocis-config.json @@ -1,6 +1,6 @@ { "server": "https://ocis-server:9200", - "theme": "owncloud", + "theme": "https://ocis-server:9200/themes/owncloud/theme.json", "version": "0.1.0", "openIdConnect": { "metadata_url": "https://ocis-server:9200/.well-known/openid-configuration", diff --git a/web/pkg/flagset/flagset.go b/web/pkg/flagset/flagset.go index 678e8dad84..b584ac5ea8 100644 --- a/web/pkg/flagset/flagset.go +++ b/web/pkg/flagset/flagset.go @@ -170,7 +170,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { }, &cli.StringFlag{ Name: "web-config-theme", - Value: flags.OverrideDefaultString(cfg.Web.Config.Theme, "owncloud"), + Value: flags.OverrideDefaultString(cfg.Web.Config.Theme, "https://localhost:9200/themes/owncloud/theme.json"), Usage: "Theme", EnvVars: []string{"WEB_UI_CONFIG_THEME"}, Destination: &cfg.Web.Config.Theme,