testing webhooks

This commit is contained in:
an 2018-04-22 14:05:56 +02:00
parent 8e9e8e162c
commit caa291e0ea
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func init() {
func webhookRun() { func webhookRun() {
xlog.Info("webhook listener started") xlog.Info("webhook listener started")
http.HandleFunc("/webhook", webhookHandleHTTP) http.HandleFunc("/webhook", webhookHandleHTTP)
xlog.Fatal("%v", http.ListenAndServe(":"+*webhookPort, nil)) xlog.Fatal("%v", http.ListenAndServe(":8080", nil))
} }
func webhookHandleMessage(m *Message) { func webhookHandleMessage(m *Message) {