mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
Fix web theme paths in example configs & flagset default
This commit is contained in:
committed by
Willy Kloucek
parent
90246d776d
commit
d17b13af2b
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user