Start Twilio webhook.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user