Browse Source

Set type to yaml

master
Tyler 9 months ago
parent
commit
be7920d0d0
  1. 1
      main.go

1
main.go

@ -26,6 +26,7 @@ func setupConfiguration() {
viper.AutomaticEnv()
viper.SetConfigName("ottomate")
viper.SetConfigType("yaml")
viper.AddConfigPath("/etc/ottomate/")
viper.AddConfigPath("$HOME/.ottomate")
viper.AddConfigPath(".")

Loading…
Cancel
Save