Skip to content
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

Prevent Vercel serverless generate static redirect pages #8896

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Oct 23, 2023

Changes

Similar to #7805
Fixes #7889

Prevent generate static redirect pages as vercel.json redirects already covers it. This aligns with the behaviour in @astrojs/vercel/static and dev.

Testing

Added a new test based on #7805. Also tested a published vercel project.

Docs

Added changeset

@changeset-bot
Copy link

changeset-bot bot commented Oct 23, 2023

🦋 Changeset detected

Latest commit: 1500599

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

@github-actions github-actions bot added pkg: integration Related to any renderer integration (scope) docs pr A PR that includes documentation for review labels Oct 23, 2023
@sarah11918 sarah11918 removed the docs pr A PR that includes documentation for review label Oct 23, 2023
@bluwy bluwy merged commit 5dd1ed5 into main Oct 24, 2023
13 checks passed
@bluwy bluwy deleted the vercel-static-redirect branch October 24, 2023 10:26
@astrobot-houston astrobot-houston mentioned this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When redirecting pre-rendered pages, Astro serves a "Redirecting to [url]" placeholder
4 participants