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

Add route information for getStaticPaths warning #7126

Merged
merged 1 commit into from
May 19, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented May 19, 2023

Changes

Fix #7023

Add route information when warning about getStaticPaths() ignored for SSR:

04:48:51 PM [getStaticPaths] getStaticPaths() in src/pages/[lang]/index.astro is ignored when "output: server" is set.

Testing

Manually tested with the issue's repro.

Docs

n/a. I don't think we're documenting the warnings currently.

@changeset-bot
Copy link

changeset-bot bot commented May 19, 2023

🦋 Changeset detected

Latest commit: 9871e79

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 the pkg: astro Related to the core `astro` package (scope) label May 19, 2023
@bluwy bluwy merged commit 530fb9e into main May 19, 2023
@bluwy bluwy deleted the get-static-paths-warning branch May 19, 2023 10:13
@astrobot-houston astrobot-houston mentioned this pull request May 19, 2023
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.

Redirects and content collections at the same time give warning or error
2 participants