-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix: generated redirect page canonical lacks of site prefix #8591
Conversation
🦋 Changeset detectedLatest commit: 88839c9 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 |
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.
can we add a test please? could you restore the issue template please?
Can you guide me on writing tests? I've restored the issue template. |
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.
For a test, you could create a new test case inside static-build.test.js
, and use the fixture ./fixtures/static-build/
.
Then it's just a matter of creating a new page to recreate the issue, and assert that the canonical attribute contains the expected string.
Thanks! That helped, pushed! |
fix #8499
Changes
Fix generated redirect page canonical lacks of site prefix
Testing
Docs