Skip to content

Commit

Permalink
Update route.ts
Browse files Browse the repository at this point in the history
exclude hkg1 from the deployment regions of the edge function ChatGPTNextWeb#3290
  • Loading branch information
bentwnghk committed Nov 16, 2023
1 parent f509ce2 commit 555c3a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/openai/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ 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 555c3a0

Please sign in to comment.