Skip to content

Commit

Permalink
Fix web theme paths in example configs & flagset default
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter authored and wkloucek committed Oct 12, 2021
1 parent 90246d7 commit d17b13a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/config/drone/ocis-config.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion web/pkg/flagset/flagset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d17b13a

Please sign in to comment.