vercel deployment not providing geo on `NextRequest` as documented
Unanswered
Cuvier’s Dwarf Caiman posted this in #help-forum
Cuvier’s Dwarf CaimanOP
This document https://nextjs.org/docs/app/api-reference/functions/next-request#geo says that
I am on next
req.geo will be provided on vercel deployments, and mine is not providing it on my vercel deployment. I am attempting to access this up from the GET(req: NextRequest) handler.export const dynamic = "force-dynamic"; // defaults to auto
export async function GET(req: NextRequest) {
// all undefined
// provided by vercel
const city = req.geo?.city;
const country = req.geo?.country;
const region = req.geo?.region;I am on next
14.2.3