WTF is that char

This commit is contained in:
toinux 2023-05-14 17:13:04 +01:00 committed by GitHub
parent ddb01405df
commit e8509f74d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -857,7 +857,7 @@ func LoadConfig(file string) (*Config, error) {
parsedConfig.Section("postgres").MapTo(&psql)
if server.StoreBackend == "postgres" {
if psql.URL == "" {
psql.URL = 'postgres:///?sslmode=prefer'
psql.URL = "postgres:///?sslmode=prefer"
}
}