Fixed base path (again again)

This commit is contained in:
2022-02-02 10:11:46 +01:00
parent cfe33f517b
commit 83931bd2a4

View File

@@ -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) + "/"
}