diff --git a/abyss.go b/abyss.go index fcbcd05..ac0932b 100644 --- a/abyss.go +++ b/abyss.go @@ -13,7 +13,10 @@ import ( func main() { app := new(Application) - godotenv.Load() + err := godotenv.Load() + if err != nil { + slog.Warn("no .env file detected, getting env from running process") + } app.auth.username = os.Getenv("AUTH_USERNAME") app.auth.password = os.Getenv("AUTH_PASSWORD")