Start Twilio webhook.

This commit is contained in:
2021-04-19 13:14:59 -07:00
parent 42aa585bd0
commit caa92def41
3 changed files with 7 additions and 0 deletions

View File

@@ -47,3 +47,7 @@ func handler(w http.ResponseWriter, r *http.Request) {
log.Printf("twilio receive hook: %s", err)
}
}
func Start() error {
http.AddRoute("/twilio", handler)
}