getRequestIP returns nothing
Hi there, I need to get the clients IP in a API Route.
Currently I'm trying this:
I've found this somewhere in the docs.
But it returns undefined in Dev (nuxt dev) and on NuxtHub aswell..
Unfortunately I need the IP so are there any workarounds?
Currently I'm trying this:
I've found this somewhere in the docs.
But it returns undefined in Dev (nuxt dev) and on NuxtHub aswell..
Unfortunately I need the IP so are there any workarounds?