Hi, is there a way to make redirects permanent in the middleware. That is 308 http response code.
The default behaviour of the example code from the docs is a temporary redirect, 307.
// This function can be marked `async` if using `await` inside
export function middleware(request: NextRequest) {
return NextResponse.redirect(new URL('/home', request.url))
}```