Reference

redirect303

Creates a same-origin `303 See Other` redirect response. Use this from route handlers when returning a `Response` is more convenient than throwing through the app-router control flow.

Signature

function redirect303(location: string, init: ResponseInit): Response