forked from an/flokati
testing webhooks
This commit is contained in:
parent
8e9e8e162c
commit
caa291e0ea
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue