I'm stupid
This commit is contained in:
parent
a4bdd6c71f
commit
6c18bfb941
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}()
|
||||
|
|
Reference in a new issue