Skip to content

Commit

Permalink
Merge pull request #47 from metakgp/upload-endpoint
Browse files Browse the repository at this point in the history
feat: not having .env is not a fatal error
  • Loading branch information
rajivharlalka authored May 9, 2024
2 parents b9510e3 + 41352ea commit 0f1b5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func CheckError(err error) {
func main() {
err := godotenv.Load(".env")
if err != nil {
log.Fatal(err)
log.Println(err)
}

host := os.Getenv("DB_HOST")
Expand Down

0 comments on commit 0f1b5fd

Please sign in to comment.