-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(vercel): add support for specifying edge regions #1192
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1192 +/- ##
=======================================
Coverage 77.20% 77.20%
=======================================
Files 67 67
Lines 6641 6642 +1
Branches 734 735 +1
=======================================
+ Hits 5127 5128 +1
Misses 1513 1513
Partials 1 1
|
Would it possible to also have the opt-in properties described here?ie. everything is serverless but on specific nuxt endpoints make them edge functions that way we can mix and match as well? no worries if its out of scope export const config = {
runtime: 'edge', regions: 'iad1'
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Co-authored-by: Yanick BΓ©langer <yanick.belanger@yahoo.com>
π Linked issue
β Type of change
π Description
This allows specifying the regions for edge functions in Vercel, which can be beneficial to ensure they are running close to a DB (for example).
More info: https://vercel.com/docs/concepts/functions/edge-functions#edge-function-regions
π Checklist