Skip to content

Commit

Permalink
Update index.go
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Jan 6, 2025
1 parent d8c43f1 commit 67c1fe7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ func acknowledgeSlackRequest(w http.ResponseWriter) {
}

func handleEventCallback(r *http.Request, body []byte) {
scheme := "http"
if r.TLS != nil {
scheme = "https"
}
req := r.Clone(r.Context())
req.RequestURI = ""
req.URL, _ = url.Parse(fmt.Sprintf("https://%s/event", r.Host))
Expand Down

0 comments on commit 67c1fe7

Please sign in to comment.