Skip to content

Commit

Permalink
move port default to root.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Nov 12, 2021
1 parent cbe4a00 commit a1fc657
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ func GetToken() (string, error) {
if !(viper.IsSet("client_secret")) {
log.Fatalln("No Client Secret provided, check configuration")
}
viper.SetDefault("port", "4321")

ctx := context.Background()
redirectURL := "http://localhost:" + viper.GetString("port")
Expand Down

0 comments on commit a1fc657

Please sign in to comment.