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