fix(build): pin turbopack.root, update comment for middleware to proxy rename (#897)
Pins turbopack.root to the project directory so a parent-directory lockfile cannot make Turbopack misdetect the workspace root, and updates a stale comment reference (middleware.ts is now proxy.ts). The rename itself already landed on main.
This commit is contained in:
@@ -26,7 +26,7 @@ export async function GET(request: NextRequest) {
|
||||
cookiesToSet.forEach((cookie) => {
|
||||
// Mirror the cookie into request.cookies so subsequent getAll()
|
||||
// calls within this request lifecycle return the updated values
|
||||
// (matches the pattern used in middleware.ts).
|
||||
// (matches the pattern used in proxy.ts).
|
||||
request.cookies.set(cookie.name, cookie.value)
|
||||
pendingCookies.push(cookie)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user