config: exclude hkg1 from the deployment regions of the edge function #450
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This commit updates the deployment configuration for our edge functions, specifically excluding the Hong Kong region (
hkg1
). The primary reason for this change is to address an issue where requests made to the OpenAI API were not being responded to when our application was deployed in the Hong Kong region. By excluding Hong Kong from our deployment regions, we aim to resolve this issue, ensuring stability and efficiency in application response. This adjustment is expected to enhance user experience and ensure smooth operation of our services globally.Linked Issues
Additional context
Reviewers should focus on the updated list of deployment regions in the vercel.json file, ensuring that Hong Kong is correctly excluded. Consideration of the potential impact on performance and user experience in other regions due to this change is also important.