fix: improve some default values

This commit is contained in:
Johan Siebens
2022-09-22 15:47:35 +02:00
parent d87c7252c2
commit c6ebeb36bc
+2 -1
View File
@@ -70,13 +70,14 @@ func defaultConfig() *Config {
ServerUrl: "https://localhost:8843",
Database: Database{
Type: "sqlite",
Url: "ionscale.db",
Url: "./ionscale.db?_pragma=busy_timeout(5000)&_pragma=journal_mode(WAL)&_pragma=foreign_keys(ON)",
},
Tls: Tls{
Disable: false,
ForceHttps: true,
AcmeEnabled: false,
AcmeCA: certmagic.LetsEncryptProductionCA,
AcmePath: "./acme",
},
PollNet: PollNet{KeepAliveInterval: 1 * time.Minute},
Logging: Logging{Level: "info"},