Fix basic-app benchmark application (#60842)
Fairly basic PR that just fixes the `basic-app` benchmark application. The api route was throwing an error since it wasn't returning a `Response`, and renamed some `pages/` directory routes so they become available.
This commit is contained in:
parent
43227c0dd5
commit
a1610fecd8
2 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
export function GET() {
|
||||
return { name: 'John Doe' }
|
||||
return Response.json({ name: 'John Doe' })
|
||||
}
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
|
Loading…
Reference in a new issue