mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-14 09:34:43 +00:00
Merge branch 'development'
This commit is contained in:
commit
a79e7d2cef
1 changed files with 4 additions and 0 deletions
|
@ -265,6 +265,10 @@ func main() {
|
|||
hooksURL := makeRoutePattern(hooksURLPrefix)
|
||||
|
||||
r.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
|
||||
for _, responseHeader := range responseHeaders {
|
||||
w.Header().Set(responseHeader.Name, responseHeader.Value)
|
||||
}
|
||||
|
||||
fmt.Fprint(w, "OK")
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue