-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make status code check more strict for sitemap plugin #10779
Conversation
🦋 Changeset detectedLatest commit: 3456bd7 The changes in this PR will be included in the next version bump. 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 |
1f67782
to
c116eb3
Compare
Can you rebase against |
@matthewp 👌 rebased and all checks pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix looks good to me! Confirmed that 404 and 500 should only be detected from src/pages
in our docs, and should include localized version as well per the i18n middleware. We Adri-can merge I think @adrianlyjak
Co-authored-by: Ben Holmes <hey@bholmes.dev>
This is a potential fix for #10778
Changes
[locale]/[error-code]
and[error-code]
style pages are excludedTesting
Updated existing test fixture and added test for this scenario
Docs
The current exclusion logic isn't documented, so it seems unnecessary to add further documentation about this edge case. IMO, this seems like a bug