Skip to content

Commit

Permalink
Fix basic-app benchmark application (vercel#60842)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ethan-Arrowood authored Jan 21, 2024
1 parent 43227c0 commit a1610fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/basic-app/app/api/app/route.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function GET() {
return { name: 'John Doe' }
return Response.json({ name: 'John Doe' })
}

export const dynamic = 'force-dynamic'
File renamed without changes.

0 comments on commit a1610fe

Please sign in to comment.