fixed initial user
Some checks failed
Build and Push Docker Image / Build image (push) Has been cancelled

This commit is contained in:
2025-04-09 03:15:38 +03:00
parent 8747c308e5
commit 8ac960102a
5 changed files with 40 additions and 39 deletions

View File

@@ -1,7 +1,6 @@
package main
import (
"fmt"
"os"
"git.acooldomain.co/server-manager/backend/auth"
@@ -21,7 +20,7 @@ func main() {
cors_config := cors.DefaultConfig()
cors_config.AllowCredentials = true
cors_config.ExposeHeaders = []string{"set-cookie"}
file, err := os.Open(fmt.Sprintf("%s", os.Getenv(CONFIG_PATH)))
file, err := os.Open(os.Getenv(CONFIG_PATH))
if err != nil {
panic(err)
}