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

prerenderdata is not removing query params before fetching prerender-data #1590

Open
lego-sharat opened this issue Aug 10, 2021 · 0 comments

Comments

@lego-sharat
Copy link

lego-sharat commented Aug 10, 2021

What is the current behaviour?
A clear and concise description of what the bug is.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://phdsofindia.in/?a=b'
  2. Go to network tabs, its fetching https://phdsofindia.in/?a=b/preact_prerender_data.json

What is the expected behaviour?
It should be fetching https://phdsofindia.in/preact_prerender_data.json

Please mention any other relevant information
${normalizeUrl(props.url)}${PRERENDER_DATA_FILE_NAME} is being called but props.url contains query params. Normalizeurl should strip off query params maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant