fixed initial user
Some checks failed
Build and Push Docker Image / Build image (push) Has been cancelled
Some checks failed
Build and Push Docker Image / Build image (push) Has been cancelled
This commit is contained in:
3
main.go
3
main.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user