Skip to content

Commit

Permalink
config: not enable edge function deployment across all regions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-2369 authored and actions-user committed Jul 20, 2024
1 parent 1c0e9c1 commit 0dbedce
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/api/openai/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,22 @@ export const GET = handle;
export const POST = handle;

export const runtime = "edge";
export const preferredRegion = [
"arn1",
"bom1",
"cdg1",
"cle1",
"cpt1",
"dub1",
"fra1",
"gru1",
"hnd1",
"iad1",
"icn1",
"kix1",
"lhr1",
"pdx1",
"sfo1",
"sin1",
"syd1",
];

0 comments on commit 0dbedce

Please sign in to comment.