I'm an idiot who forgot to flag.Parse()
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Tyler 2022-03-30 21:44:58 -04:00
parent bb3cea2ce2
commit d2d8e6ecad
1 changed files with 2 additions and 0 deletions

View File

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