Rewrites adding unnecessary path query parameters #16984
Answered
by
ijjk
joakimgunst
asked this question in
Help
-
When adding a rewrite like: async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:8080/api/:path*",
}
];
}, The logs will show requests like |
Beta Was this translation helpful? Give feedback.
Answered by
ijjk
Sep 10, 2020
Replies: 1 comment 1 reply
-
Hi, this has been updated since |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Timer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this has been updated since
v9.5.3
of Next.js to not add the additional query parameters if they are already used in the destination's path.