Skip to content

Commit

Permalink
[sitecore-jss-nextjs]: Redirects for Netlify has been fixed(instead …
Browse files Browse the repository at this point in the history
…of multilanguage) #SXA-6564
  • Loading branch information
Ruslan Matkovskyi committed Sep 5, 2024
1 parent a9a5d86 commit 97c3ecc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ export class RedirectsMiddleware extends MiddlewareBase {
statusText: string
): NextResponse {
const redirect = NextResponse.redirect(url, {
...(res || {}),
status,
statusText,
headers: res?.headers,
Expand Down

0 comments on commit 97c3ecc

Please sign in to comment.