Conversation
|
Contributor
|
Preview deployments for this pull request: www - |
Barsnes
approved these changes
Jan 30, 2026
Member
Barsnes
left a comment
There was a problem hiding this comment.
Awesome debugging! Thanks a lot <3
2 tasks
Barsnes
added a commit
that referenced
this pull request
Feb 4, 2026
commit 1741697 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Wed Feb 4 08:52:17 2026 +0100 fix(deps): update npm non-major dependencies (#4445) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Oddbjørn Øvernes <oddbjorn.overnes@gmail.com> Co-authored-by: Michael Marszalek <mimarz@gmail.com> commit 850e9cc Author: Michael Marszalek <mimarz@gmail.com> Date: Wed Feb 4 08:32:54 2026 +0100 docs: new CSS variable/token preview tables (#4395) Co-authored-by: Oddbjørn Øvernes <oddbjorn.overnes@gmail.com> commit 6051733 Author: Marianne Røsvik <marianne.rosvik@digdir.no> Date: Wed Feb 4 08:08:36 2026 +0100 docs: english version of required and optional form fields (#4459) commit 7ea081e Author: Frank Dahle <frankdahle@gmail.com> Date: Tue Feb 3 13:55:37 2026 +0100 docs: fixed mispelling (#4462) commit 0b03881 Author: stianmorsund <stian.rm@gmail.com> Date: Fri Jan 30 12:15:32 2026 +0100 fix(www): broken redirects (#4457) commit 7276fdb Author: Oddbjørn Øvernes <oddbjorn.overnes@gmail.com> Date: Fri Jan 30 08:52:15 2026 +0100 chore(www): add dpg-logo to footer (#4452)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When Express serves prerendered React Router pages, URLs pointing to directories without an index, like
/no/components/docs/alertcause an infinite redirect loop between the React Router loader and express instead of redirecting to/no/components/docs/alert/overview. Disabling directory redirects in express fixes this by letting React Router handle all the redirect logicChecks
pnpm changesetif relevant)