commit
8c23402432
1 changed files with 1 additions and 3 deletions
|
@ -28,7 +28,7 @@ func listenForWebhook() {
|
|||
http.HandleFunc("/", webHandle)
|
||||
http.HandleFunc("/webhook", webhookHandler)
|
||||
|
||||
err := http.ListenAndServe(":3333", nil)
|
||||
err := http.ListenAndServe(":433", nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
@ -49,8 +49,6 @@ func webhookHandler(w http.ResponseWriter, r *http.Request) {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
w.WriteHeader(200)
|
||||
|
||||
switch event := event.(type) {
|
||||
case *github.IssuesEvent:
|
||||
processIssuesEvent(event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue