Skip to content

Commit

Permalink
Merge pull request #54 from twitchdev/bugfix/forward-logic-fix
Browse files Browse the repository at this point in the history
Fixes #53.
  • Loading branch information
lleadbet authored Apr 6, 2021
2 parents dfadd34 + eb60d0a commit 9884d28
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 9884d28

Please sign in to comment.