Reference

redirectExternal

Throws an external redirect for trusted `http` or `https` destinations. This helper is intentionally separate from `redirect()` so off-site navigation is explicit. The default status is `307`.

Signature

function redirectExternal(location: string, options: RedirectOptions): never