原文:How to get client s ip address in Next.js 13?
I have a next.js 13 app and want to add an API endpoint /api/getIP. The route.js file is in the /app/api/getIP/route.js. I tried several ways of doing it but none of them worked. I tried using request-...