This commit is contained in:
Juan Font Alonso 2021-04-22 23:58:18 +02:00
commit 2555220a57

View file

@ -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()