From 067e61471325b6659019964a9bcd731a4dbd474d Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 17 Aug 2022 12:25:55 +0200 Subject: [PATCH] implement review feedback --- services/frontend/pkg/revaconfig/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/frontend/pkg/revaconfig/config.go b/services/frontend/pkg/revaconfig/config.go index 7a6c8cabf..f53e1202d 100644 --- a/services/frontend/pkg/revaconfig/config.go +++ b/services/frontend/pkg/revaconfig/config.go @@ -14,9 +14,9 @@ func FrontendConfigFromStruct(cfg *config.Config) (map[string]interface{}, error webURL, err := url.Parse(cfg.PublicURL) if err != nil { - return map[string]interface{}{}, err + return nil, err } - webURL.Path = "/external" + webURL.Path = path.Join(webURL.Path, "/external") webOpenInAppURL := webURL.String() archivers := []map[string]interface{}{