Merge branch 'main' of https://github.com/juanfont/headscale into main
This commit is contained in:
commit
2555220a57
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ var enableRouteCmd = &cobra.Command{
|
|||
|
||||
func main() {
|
||||
viper.SetConfigName("config")
|
||||
viper.AddConfigPath("/etc/headscale/")
|
||||
viper.AddConfigPath("$HOME/.headscale")
|
||||
viper.AddConfigPath(".")
|
||||
viper.AutomaticEnv()
|
||||
err := viper.ReadInConfig()
|
||||
|
|
Loading…
Reference in a new issue