diff --git a/broker/main.go b/broker/main.go index f518d33..2f82714 100644 --- a/broker/main.go +++ b/broker/main.go @@ -41,7 +41,7 @@ func main() { // Setup webhook handler go func() { log.Println("Starting webserver..") - http.HandleFunc(config.Token, webhook) + http.HandleFunc(config.WebhookURL, webhook) err := http.ListenAndServe(config.BindServer, nil) assert(err) }()