소스 검색

config: exclude hkg1 from the deployment regions of the edge function

Eric-2369 1 년 전
부모
커밋
74eb42c111
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/api/openai/[...path]/route.ts

+ 1 - 0
app/api/openai/[...path]/route.ts

@@ -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'];