Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanh committed May 22, 2023
2 parents 5ed6423 + 560cbaa commit a79e7d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})

Expand Down

0 comments on commit a79e7d2

Please sign in to comment.