summary refs log tree commit diff stats
path: root/init.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-27 01:06:50 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-27 01:06:50 -0400
commitdaa48539f5ad8b444637f948b98996d35852b1e8 (patch)
tree60755e8b0a43b1e1d645a9221529324450974109 /init.go
parent06b4e506f0666d3f717398aa7a48d2b0106214fe (diff)
downloadgetwtxt-daa48539f5ad8b444637f948b98996d35852b1e8.tar.gz
changed config format to yaml, commented config file
Diffstat (limited to 'init.go')
-rw-r--r--init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.go b/init.go
index 25beeed..6fd6bc8 100644
--- a/init.go
+++ b/init.go
@@ -81,7 +81,7 @@ func checkFlags() {
 func initConfig() {
 
 	viper.SetConfigName("getwtxt")
-	viper.SetConfigType("json")
+	viper.SetConfigType("yml")
 	viper.AddConfigPath(".")
 	viper.AddConfigPath("/usr/local/getwtxt")
 	viper.AddConfigPath("/etc")