fix: made .env file not mendatory
This commit is contained in:
1 parent
8faf3f8d9d
commit
047e14df60
1 file changed
+1
-1
@@ -22,7 +22,7 @@ func initEnvVariables() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic("Could not load .env file")
|
fmt.Println("WARNING: Could not load any .env file")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, envVar := range envVarsToLoad {
|
for _, envVar := range envVarsToLoad {
|
||||||
|
|||||||
Reference in new issue
Block a user