forked from an/flokati
testing webhooks
This commit is contained in:
parent
8e9e8e162c
commit
caa291e0ea
|
@ -24,7 +24,7 @@ func init() {
|
|||
func webhookRun() {
|
||||
xlog.Info("webhook listener started")
|
||||
http.HandleFunc("/webhook", webhookHandleHTTP)
|
||||
xlog.Fatal("%v", http.ListenAndServe(":"+*webhookPort, nil))
|
||||
xlog.Fatal("%v", http.ListenAndServe(":8080", nil))
|
||||
}
|
||||
|
||||
func webhookHandleMessage(m *Message) {
|
||||
|
|
Loading…
Reference in New Issue