From a2e9f395d5717caaa506705b01300ac38b3e1575 Mon Sep 17 00:00:00 2001 From: KentHsu Date: Wed, 14 Aug 2024 12:19:42 +0800 Subject: [PATCH] fix: use default .env location --- firecrawl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firecrawl_test.go b/firecrawl_test.go index 9d56c7a..8a3aacb 100644 --- a/firecrawl_test.go +++ b/firecrawl_test.go @@ -16,7 +16,7 @@ var API_URL string var TEST_API_KEY string func init() { - err := godotenv.Load("../.env") + err := godotenv.Load() if err != nil { log.Fatalf("Error loading .env file: %v", err) }