I'm an idiot who forgot to flag.Parse()

This commit is contained in:
Tyler
2022-03-30 21:44:58 -04:00
parent bb3cea2ce2
commit d2d8e6ecad

View File

@@ -50,6 +50,8 @@ var (
)
func main() {
flag.Parse()
viper.SetDefault("bind", ":8080")
viper.SetConfigName("dlrouter") // name of config file (without extension)