-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
After upgrading to Next.js v15, I noticed the geo
property on NextRequest
was missing, which was fine because Vercel removed it from the interface.
However, I assume the object should still be injected into the request object via the edge function context. This assumption is based on:
opennextjs-netlify/edge-runtime/lib/next-request.ts
Lines 111 to 118 in 17a1202
const geo: RequestData['geo'] = { | |
city, | |
country: country?.code, | |
region: subdivision?.code, | |
latitude: latitude?.toString(), | |
longitude: longitude?.toString(), | |
timezone, | |
} |
It returns null
when accessing the geo
property, like Next.js v14. That makes me believe that something within Next.js was removed to support this, but given that this plugin should reinstate it, I'm perplexed about the intended use.
Any thoughts would be much appreciated.
Metadata
Metadata
Assignees
Labels
No labels