workers-airtable-form
workers-airtable-form copied to clipboard
Removes invalid `new` for Response.redirect
The keyword new before Response.redirect raises a Javascript exception since the function is not a constructor.
You can reproduce an error in the deployed code of the worker by accessing: https://workers-airtable-form.signalnerve.workers.dev
It should redirect to https://airtable-form-example.pages.dev but instead raises an exception.-
I also opened a documentation issue https://github.com/cloudflare/cloudflare-docs/issues/2505 to address this typo.
This can be merged now.