π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Replace '-' with '_'
mngshm28295e2b8371
diff --git a/server/pkg/utils/config/config.go b/server/pkg/utils/config/config.goindex b78d89b908..6f40c2a155 100644--- a/server/pkg/utils/config/config.go+++ b/server/pkg/utils/config/config.go@@ -40,6 +40,7 @@ func ConfigureViper(environment string) error {viper.SetEnvPrefix("ENTE")// Ask Viper to look for underscores (instead of dots) for nested configs.viper.SetEnvKeyReplacer(strings.NewReplacer(`.`, `_`))+ viper.SetEnvKeyReplacer(strings.NewReplacer(`-`, `_`))viper.SetConfigFile("configurations/" + environment + ".yaml")err := viper.ReadInConfig()