From 26db9afb8a72d96aa9677905aded469ac00a44da Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 16 Nov 2021 16:56:28 +0100 Subject: [PATCH] undo const... --- web/pkg/config/config.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/pkg/config/config.go b/web/pkg/config/config.go index b48e020e0..9859e91ca 100644 --- a/web/pkg/config/config.go +++ b/web/pkg/config/config.go @@ -6,8 +6,6 @@ import ( "github.com/owncloud/ocis/ocis-pkg/shared" ) -const defaultIngressURL = "https://localhost:9200" - // Debug defines the available debug configuration. type Debug struct { Addr string `mapstructure:"addr"` @@ -133,15 +131,15 @@ func DefaultConfig() *Config { }, Web: Web{ Path: "", - ThemeServer: defaultIngressURL, + ThemeServer: "https://localhost:9200", ThemePath: "/themes/owncloud/theme.json", Config: WebConfig{ - Server: defaultIngressURL, + Server: "https://localhost:9200", Theme: "", Version: "0.1.0", OpenIDConnect: OIDC{ MetadataURL: "", - Authority: defaultIngressURL, + Authority: "https://localhost:9200", ClientID: "web", ResponseType: "code", Scope: "openid profile email",