Skip to content

The only tool you need to know what is happening and how to fix it.

Update main.go

dduxc69130966640
diff --git a/backend/main.go b/backend/main.go
index a19f61e2..79f17a6b 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -16,7 +16,9 @@ import (
func main() {
err := godotenv.Load()
if err != nil {
- log.Fatal("Error loading .env file")
+ // we don't actually care for the .env file existing
+ // because in production we can just deploy with container variables
+ log.Println("Error loading .env file")
}
err = chdb.Init()