π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
allow setting extra parameter for dsn
John Doedbab1bad5557
diff --git a/server/pkg/utils/config/config.go b/server/pkg/utils/config/config.goindex a12381e455..1bbd3707ac 100644--- a/server/pkg/utils/config/config.go+++ b/server/pkg/utils/config/config.go@@ -103,13 +103,14 @@ func doesFileExist(path string) (bool, error) {func GetPGInfo() string {return fmt.Sprintf("host=%s port=%d user=%s "+- "password=%s dbname=%s sslmode=%s",+ "password=%s dbname=%s sslmode=%s %s",viper.GetString("db.host"),viper.GetInt("db.port"),viper.GetString("db.user"),viper.GetString("db.password"),viper.GetString("db.name"),- viper.GetString("db.sslmode"))+ viper.GetString("db.sslmode"),+ viper.GetString("db.extra"))}func IsLocalEnvironment() bool {