Merged in fix/permanent-filter-redirect (pull request #3170)

feat(BOOK-434): change redirect status from 301 to 307

* feat(BOOK-434): change redirect status from 301 to 307
This commit is contained in:
Linus Flood
2025-11-18 13:10:38 +00:00
parent 4c0daf8062
commit 711d8b46ef

View File

@@ -61,7 +61,7 @@ export const middleware: NextMiddleware = async (request) => {
return NextResponse.redirect( return NextResponse.redirect(
new URL(incomingPathNameParts.join("/"), nextUrl), new URL(incomingPathNameParts.join("/"), nextUrl),
{ {
status: 301, status: 307,
} }
) )
} }