Excess location in server component or middleware
Unanswered
Mini Rex posted this in #help-forum
Mini RexOP
Can anyone tell me how to excess user location in server component or middleware in next js?
2 Replies
@Mini Rex Can anyone tell me how to excess user location in server component or middleware in next js?
you can use middleware to access the
request.geo object https://nextjs.org/docs/pages/api-reference/functions/next-server#nextrequestMini RexOP
thank you for help