Skip to content

Commit e80bad7

Browse files
authored
Merge branch 'main' into feature/m1
2 parents af4a194 + 9884d28 commit e80bad7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/events/trigger/forward_event.go

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ func ForwardEvent(p ForwardParamters) (*http.Response, error) {
9595

9696
client := &http.Client{
9797
Timeout: time.Second * 10,
98+
CheckRedirect: func(req *http.Request, via []*http.Request) error {
99+
return http.ErrUseLastResponse
100+
},
98101
}
99102
resp, err := client.Do(req)
100103
if err != nil {

0 commit comments

Comments
 (0)