-
-
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(redirects): attempt to get only params in dev mode #8647
Conversation
🦋 Changeset detectedLatest commit: 3748cbf 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.
Plain and simple 👊👌
it.skip('falls back to spread rule when dynamic rules should not match', async () => { | ||
const response = await fixture.fetch('/more/old/welcome/world', { redirect: 'manual' }); | ||
expect(response.headers.get('Location')).to.equal('/more/new/welcome/world'); | ||
}); |
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.
I'll let someone else tackle this.
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.
Looks great
Hi, i am still using Astro 2.10 and I'm not ready to upgrade to Astro 3. Can you release this fix also for all affected 2.x versions? |
We don't have a system setup for that case. This is a small change, however. I'd recommend publishing an npm package for yourself with
|
Changes
redirects
error #8639Testing
Adapted from repro.
Docs
Does not affect usage.