Check for abs/rel path in db_path
This commit is contained in:
parent
b0adefc540
commit
460a23cf2b
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
|
|||
DerpMap: derpMap,
|
||||
|
||||
DBtype: viper.GetString("db_type"),
|
||||
DBpath: viper.GetString("db_path"),
|
||||
DBpath: absPath(viper.GetString("db_path")),
|
||||
DBhost: viper.GetString("db_host"),
|
||||
DBport: viper.GetInt("db_port"),
|
||||
DBname: viper.GetString("db_name"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue