fix invalid json:"omit" added in owncloud/ocis#2437

This commit is contained in:
Willy Kloucek
2021-10-14 17:03:47 +02:00
parent ce136b4940
commit 9f2831634d
3 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -170,17 +170,17 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.StringFlag{
Name: "web-theme-server",
Value: flags.OverrideDefaultString(cfg.Web.Config.ThemeServer, "https://localhost:9200"),
Value: flags.OverrideDefaultString(cfg.Web.ThemeServer, "https://localhost:9200"),
Usage: "Theme server URL",
EnvVars: []string{"WEB_UI_THEME_SERVER", "OCIS_URL"}, // WEB_UI_THEME_SERVER takes precedence over OCIS_URL
Destination: &cfg.Web.Config.ThemeServer,
Destination: &cfg.Web.ThemeServer,
},
&cli.StringFlag{
Name: "web-config-theme",
Value: flags.OverrideDefaultString(cfg.Web.Config.ThemePath, "/themes/owncloud/theme.json"),
Value: flags.OverrideDefaultString(cfg.Web.ThemePath, "/themes/owncloud/theme.json"),
Usage: "Theme path on the theme server",
EnvVars: []string{"WEB_UI_THEME_PATH"},
Destination: &cfg.Web.Config.ThemePath,
Destination: &cfg.Web.ThemePath,
},
&cli.StringFlag{
Name: "web-config-version",