From aa73640e55128849deb9090d963719838ffa08d5 Mon Sep 17 00:00:00 2001 From: bytedream Date: Mon, 31 Jan 2022 09:47:46 +0100 Subject: [PATCH] Fix base path --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index eb00fa4..a7e237d 100644 --- a/config/config.go +++ b/config/config.go @@ -36,6 +36,6 @@ func init() { FrontendDir = os.Getenv("FRONTEND_DIR") PageBase = pageBase{ - BasePath: path.Join(ServerAddress, Prefix), + BasePath: "http://" + path.Join(ServerAddress, Prefix), } }