Skip to content

Commit

Permalink
Merge branch 'main' into feature/m1
Browse files Browse the repository at this point in the history
  • Loading branch information
lleadbet committed Apr 6, 2021
2 parents af4a194 + 9884d28 commit e80bad7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/events/trigger/forward_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ func ForwardEvent(p ForwardParamters) (*http.Response, error) {

client := &http.Client{
Timeout: time.Second * 10,
CheckRedirect: func(req *http.Request, via []*http.Request) error {
return http.ErrUseLastResponse
},
}
resp, err := client.Do(req)
if err != nil {
Expand Down

0 comments on commit e80bad7

Please sign in to comment.