Files
25e6db4274 Turbopack: add edge app routes (#53387)
### What?

* adds middleware manifest and other missing items for edge app routes
* fixes react-server condition in edge context
* fixes node.js route context

---------

Co-authored-by: Alex Kirszenberg <[email protected]>
2023-08-07 13:00:06 +02:00

10 lines
203 B
TypeScript

import { NextRequest, NextResponse } from 'next/server'
export const GET = (req: NextRequest) => {
return NextResponse.json({
pathname: req.nextUrl.pathname,
})
}
export const runtime = 'edge'