I'm stupid

This commit is contained in:
Hamcha 2016-02-09 09:25:08 +00:00
parent a4bdd6c71f
commit 6c18bfb941
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}()