createRedirectResponse
Summary
Creates a redirect Response.
Aliases
redirect
Signature
Parameters
location
The location to redirect to
init
The ResponseInit object for the response, or a status code
Returns
A Response object with a redirect header