Change DBssl to string

This commit is contained in:
Orville Q. Song authored and Kristoffer Dalby committed 2022-11-24 16:13:47 +01:00
1 parent 99e33181b2
commit 72b9803a08
2 files changed
+9 -4

No files matched your search

+2 -2
View File
@@ -51,7 +51,7 @@ type Config struct {
DBname string
DBuser string
DBpass string
DBssl bool
DBssl string
TLS TLSConfig
@@ -545,7 +545,7 @@ func GetHeadscaleConfig() (*Config, error) {
DBname: viper.GetString("db_name"),
DBuser: viper.GetString("db_user"),
DBpass: viper.GetString("db_pass"),
DBssl: viper.GetBool("db_ssl"),
DBssl: viper.GetString("db_ssl"),
TLS: GetTLSConfig(),