dont panic if no .env

This commit is contained in:
Robin Olsen
2026-03-10 12:22:27 +01:00
parent 4acf12b0da
commit 167b9f48fe

View File

@@ -21,7 +21,7 @@ func init() {
err := godotenv.Load(".env") err := godotenv.Load(".env")
if err != nil { if err != nil {
log.Fatal("Error loading .env file") log.Println("Error loading .env file")
} }
if os.Getenv("DEV") == "True" { if os.Getenv("DEV") == "True" {