updated config

main
alex 2023-11-04 22:49:57 +01:00
parent 877798c5bb
commit 450e45e54a
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ func LoadConfig() {
if os.Getenv("DOCKER") == "" {
fmt.Println("Load env from file")
godotenv.Load(".env")
} else {
fmt.Println("Load env from system")
}
config := Config{