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:
Ethan Arrowood 2024-01-20 19:35:20 -07:00 committed by GitHub
parent 43227c0dd5
commit a1610fecd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -1,5 +1,5 @@
export function GET() {
return { name: 'John Doe' }
return Response.json({ name: 'John Doe' })
}
export const dynamic = 'force-dynamic'