Logging update

This commit is contained in:
Jesse Malotaux 2025-04-11 17:49:28 +02:00
parent 541f016eaf
commit 2098aface9
13 changed files with 119 additions and 91 deletions

View file

@ -1,7 +1,6 @@
package helper
import (
"log"
"os"
"github.com/joho/godotenv"
@ -10,7 +9,7 @@ import (
func EnvGet(key string) string {
err := godotenv.Load("../.env")
if err != nil {
log.Fatal("Error loading .env file")
return ""
}
return os.Getenv("VITE_" + key)
}