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
|
// Setup webhook handler
|
||||||
go func() {
|
go func() {
|
||||||
log.Println("Starting webserver..")
|
log.Println("Starting webserver..")
|
||||||
http.HandleFunc(config.Token, webhook)
|
http.HandleFunc(config.WebhookURL, webhook)
|
||||||
err := http.ListenAndServe(config.BindServer, nil)
|
err := http.ListenAndServe(config.BindServer, nil)
|
||||||
assert(err)
|
assert(err)
|
||||||
}()
|
}()
|
||||||
|
|
Reference in a new issue