diff --git a/go.sum b/go.sum index d61b19e..e69de29 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +0,0 @@ -github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= -github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= diff --git a/main.go b/main.go index 096a4e8..700b8e2 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,6 @@ import ( "net/http" "os" - "github.com/joho/godotenv" "github.com/minoplhy/chibisafe_netstorage_middleman/src/handler" ) @@ -92,11 +91,6 @@ func uploadHandler(w http.ResponseWriter, r *http.Request) { } func main() { - err := godotenv.Load() - if err != nil { - log.Fatal("Cannot load .env file!") - } - Chibisafe_basepath := os.Getenv("CHIBISAFE_BASEPATH") Host := os.Getenv("HOST")