From 3f299b3899d25c9bad5fdb34464a2bd853455b8f Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Fri, 25 Apr 2025 00:10:25 +0200 Subject: fix base_path --- models/database.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models/database.go') diff --git a/models/database.go b/models/database.go index ffc8a47..4998bde 100644 --- a/models/database.go +++ b/models/database.go @@ -42,9 +42,9 @@ func ConnectDatabase() { func BasePath() string { basePath := os.Getenv("BASE_PATH") - if basePath == "" { - basePath = "/" - } + // if basePath == "" { + // basePath = "/" + // } return basePath } -- cgit 1.4.1