Skip to content

Commit

Permalink
fix route syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 23, 2023
1 parent 10a6584 commit 6d981a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import nodeThenEdge from 'node-then-edge'

export const runtime = 'edge'

export default function RouteEdge() {
export function GET() {
return Response.json({
edgeThenNode,
nodeThenEdge,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import nodeThenEdge from 'node-then-edge'

export const runtime = 'nodejs'

export default function RouteNodeJs() {
export function GET() {
return Response.json({
edgeThenNode,
nodeThenEdge,
Expand Down

0 comments on commit 6d981a3

Please sign in to comment.