From 555c3a0b9125ce6b1f15211b832c82cd5eb8dcee Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 17 Nov 2023 07:28:08 +0800 Subject: [PATCH] Update route.ts exclude hkg1 from the deployment regions of the edge function #3290 --- app/api/openai/[...path]/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/openai/[...path]/route.ts b/app/api/openai/[...path]/route.ts index 9df005a317a3..2addd53a52d2 100644 --- a/app/api/openai/[...path]/route.ts +++ b/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'];