Skip to content

Commit

Permalink
fix: remove runtime edge type
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Sep 19, 2023
1 parent d4c7222 commit 78c1263
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/api/midjourney/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ async function handle(req: NextRequest, {params}: { params: { path: string[] } }
}

export const GET = handle;
export const POST = handle;

export const runtime = "edge";
export const POST = handle;

0 comments on commit 78c1263

Please sign in to comment.