From bbacfdc25bbf30bec1add0340b2ae0233d400cec Mon Sep 17 00:00:00 2001 From: MatBureau <86561676+MatBureau@users.noreply.github.com> Date: Wed, 1 Apr 2026 15:15:08 +0200 Subject: [PATCH] correction main.go .env --- buildup/src/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/buildup/src/main.go b/buildup/src/main.go index 7c9991f..760e000 100644 --- a/buildup/src/main.go +++ b/buildup/src/main.go @@ -11,9 +11,7 @@ import ( func main() { // .env 파일을 불러오세요 - if err := godotenv.Load(); err != nil { - log.Fatalln("fichier .env non trouvé") - } + godotenv.Load() InToken := os.Getenv("INFLUXDB_TOKEN") InUrl := os.Getenv("INFLUXDB_URL") InOrg := os.Getenv("INFLUXDB_ORG")