mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
fix: made .env file not mendatory
This commit is contained in:
@@ -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