Skip to content

fix(vue-app): don't remove req/res/query unless in full static mode #8611

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

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jan 9, 2021

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)

Description

In full static mode, we remove any query parameters from the URL before parsing with router. But this isn't necessarily desirable if generating files in legacy universal mode. This PR lets users with legacy universal mode access req/res/query objects within the server build.

closes #7965

Checklist:

  • All new and existing tests are passing.

Sorry, something went wrong.

@danielroe danielroe changed the title fix(vue-app): don't remove req/res/query unless in full static mode fix(vue-app): don't remove req/res/query unless in full static mode Jan 9, 2021
@danielroe danielroe self-assigned this Jan 9, 2021
@danielroe danielroe marked this pull request as ready for review January 9, 2021 15:20
@pi0 pi0 merged commit 71a3df8 into dev Jan 11, 2021
@pi0 pi0 deleted the 7965-universal-generate-query branch January 11, 2021 10:11
@pi0
Copy link
Member

pi0 commented Jan 11, 2021

Thanks!

@pi0 pi0 mentioned this pull request Jan 12, 2021
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Universal app built via nuxt generate no longer has correct query params when running
3 participants