[Bug]: /api
routes remove the query parameters on the req object
#765
Labels
status: needs reproduction
this issue needs to provide a repo that reproduces the bug described
type: bug
code to address defects in shipped code
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
use the latest beta.4 or beta.5 version of netlify-plugin-nextjs v4
and add a file called test.js in the pages/api with the following content:
then deploy on netl;ify and test the route..
/api/test?foo=pbar
the result is
{"query":{}}
and it shoud be
More information about your build
What OS are you using?
Mac OS
Your
netlify.toml
fileother Relevant info:
When i downgrade back to 3.9.2 it works again..
The text was updated successfully, but these errors were encountered: