π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Augment not replace
Manav Rathi6fd2db8d0be6
diff --git a/server/pkg/utils/config/config.go b/server/pkg/utils/config/config.goindex 7254ff7b3e..0aa995a3d8 100644--- a/server/pkg/utils/config/config.go+++ b/server/pkg/utils/config/config.go@@ -39,11 +39,9 @@ func ConfigureViper(environment string) error {// Set the prefix for the environment variables that Viper will look for.viper.SetEnvPrefix("ENTE")// Ask Viper to look for underscores (instead of dots) for nested configs.- viper.SetEnvKeyReplacer(strings.NewReplacer(`.`, `_`))-- // Also replace "-" with underscores since "-" cannot be used in- // environment variable names.- viper.SetEnvKeyReplacer(strings.NewReplacer(`-`, `_`))+ // Also replace "-" with underscores since "-" cannot be used in environment+ // variable names.+ viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_", "-", "_"))viper.SetConfigFile("configurations/" + environment + ".yaml")err := viper.ReadInConfig()