From 83931bd2a45c6a5552c8e2369eb1e65d7dc2268c Mon Sep 17 00:00:00 2001 From: ByteDream Date: Wed, 2 Feb 2022 10:11:46 +0100 Subject: [PATCH] Fixed base path (again again) --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 5191e6c..926e04c 100644 --- a/config/config.go +++ b/config/config.go @@ -38,5 +38,5 @@ func init() { DatabaseFile = os.Getenv("DATABASE_FILE") FrontendDir = os.Getenv("FRONTEND_DIR") - BasePath = Protocol + path.Join(fmt.Sprintf("%s:%s", ServerAddress, ServerPort), Prefix) + "/" + BasePath = Protocol + "://" + path.Join(fmt.Sprintf("%s:%s", ServerAddress, ServerPort), Prefix) + "/" }