forked from an/flokati
webhooks should work now
This commit is contained in:
parent
827167fa46
commit
66c4eecfda
|
@ -25,7 +25,7 @@ func init() {
|
|||
}
|
||||
|
||||
func webhookRun() {
|
||||
scanner := bufio.NewScanner(*webhook_token)
|
||||
scanner := bufio.NewScanner(*webhookToken)
|
||||
for scanner.Scan() {
|
||||
tok := strings.Split(scanner.Text(), " ")
|
||||
http.HandleFunc("/webhook/"+tok[0], webhookHandleHTTP)
|
||||
|
|
Loading…
Reference in New Issue