Set type to yaml

This commit is contained in:
Tyler 2020-12-17 19:09:04 -05:00
parent 4464c878e9
commit be7920d0d0
1 changed files with 1 additions and 0 deletions

View File

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