diff --git a/_examples/service-bindings/main.go b/_examples/service-bindings/main.go index 81e1614..ab9a23a 100644 --- a/_examples/service-bindings/main.go +++ b/_examples/service-bindings/main.go @@ -16,7 +16,7 @@ func main() { bind := cloudflare.GetBinding(ctx, "hello") fc := fetch.NewClient(fetch.WithBinding(bind)) - hc := fc.HTTPClient() + hc := fc.HTTPClient(fetch.RedirectModeFollow) res, err := hc.Do(req) if err != nil { fmt.Println(err)