6233ef7ed8
This makes sure we only pass the as value's `pathname` instead of the full value so that we don't accidentally include `query` values while resolving the rewrites. This also adds tests to ensure the rewrites are resolved with the correct query values when only providing `href` and when manually mapping them with `href` and `as` Fixes: https://github.com/vercel/next.js/issues/16825
3 lines
69 B
JavaScript
3 lines
69 B
JavaScript
export default function Another() {
|
|
return 'hello from another!'
|
|
}
|