Skip to content

Fixes custom 404 pages in astro dev#3331

Merged
tony-sull merged 4 commits into
mainfrom
fix/custom-404
May 10, 2022
Merged

Fixes custom 404 pages in astro dev#3331
tony-sull merged 4 commits into
mainfrom
fix/custom-404

Conversation

@tony-sull
Copy link
Copy Markdown
Contributor

Closes #2661

Changes

Updates the dev server to fix a bug when finding the custom 404 route

Testing

Added a test suite for custom 404 pages in dev

Docs

None, bug fix only

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 10, 2022

🦋 Changeset detected

Latest commit: a3122e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added pkg: astro Related to the core `astro` package (scope) test labels May 10, 2022
Copy link
Copy Markdown
Member

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve with small comment to move the util to import from our shared utils folder

@tony-sull tony-sull merged commit e22f736 into main May 10, 2022
@tony-sull tony-sull deleted the fix/custom-404 branch May 10, 2022 21:05
@github-actions github-actions Bot mentioned this pull request May 10, 2022
SiriousHunter pushed a commit to SiriousHunter/astro that referenced this pull request Feb 3, 2023
* Fixing pathname matching for custom 404 pages

* fixes custom 404 routes in dev

* refactor: removing node path dependency

* refactor: using core's path utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 BUG: custom 404 page doesn't render

2 participants