Normalize asPath between SSR and CSR with basePath (#14040)
To make `asPath` consistent with `basePath` handling this makes sure it is always stripped including on the client under the `asPath` value and from `req.url` in the `serverless-loader`. Additional tests have been added for this behavior to ensure we don't regress on this Closes: https://github.com/vercel/next.js/issues/14037 Closes: https://github.com/vercel/next.js/issues/14039
Showing
想要评论请 注册 或 登录