Wednesday, August 3rd 2022
Enhanced geolocation information for Vercel Functions
Requests received by Serverless and Edge Functions are now enriched with headers containing information about the timezone of the visitor:
As an example, a request from Tokyo is now enriched with the following headers:
X-Vercel-IP-Latitude: 37.7749X-Vercel-IP-Longitude: -122.4194X-Vercel-IP-Timezone: Japan
This header is now automatically activated for all new and existing Vercel Functions for all plans — no code or configuration change needed.
Check out the documentation as well.