Skip to content

Commit

Permalink
Fixes #53.
Browse files Browse the repository at this point in the history
  • Loading branch information
lleadbet committed Mar 25, 2021
1 parent dfadd34 commit eb60d0a
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 eb60d0a

Please sign in to comment.