You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/open-next/src/core/requestHandler.ts
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -239,7 +239,10 @@ async function processRequest(
239
239
// Here we try to apply as much request metadata as possible
240
240
// We apply every metadata from `resolve-routes` https://github.com/vercel/next.js/blob/916f105b97211de50f8580f0b39c9e7c60de4886/packages/next/src/server/lib/router-utils/resolve-routes.ts
241
241
// and `router-server` https://github.com/vercel/next.js/blob/916f105b97211de50f8580f0b39c9e7c60de4886/packages/next/src/server/lib/router-server.ts
242
-
constinitialURL=newURL(routingResult.initialURL);
242
+
constinitialURL=newURL(
243
+
// We always assume that only the routing layer can set this header.
0 commit comments