From 83e70898dd7b01dd9a5643b894f402036f200475 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 10 Aug 2023 12:29:55 +0200 Subject: [PATCH] remove env prefix --- proxy.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/proxy.go b/proxy.go index 9478bb9..70498cf 100644 --- a/proxy.go +++ b/proxy.go @@ -97,7 +97,6 @@ func main() { // use .env file if it exists if _, err := os.Stat(".env"); err == nil { if err := ff.Parse(flagset, os.Args[1:], - ff.WithEnvVarPrefix("shelly-proxy"), ff.WithConfigFile(".env"), ff.WithConfigFileParser(ff.EnvParser), ); err != nil { @@ -107,7 +106,6 @@ func main() { } else { // use env variables and shelly-proxy.ini file if err := ff.Parse(flagset, os.Args[1:], - ff.WithEnvVarPrefix("shelly-proxy"), ff.WithConfigFileFlag("config"), ff.WithConfigFileParser(IniParser), ); err != nil {