Accessing client IP address in SvelteKit? #3973
-
Is there a way to access client IP address in SvelteKit? Resources
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Planning to use an external IP address API in the mean time. Idea from List of 3rd party services, and their limitations are organized in a StackOverflow question. Personally decided to implement a custom Cloudflare Workers. |
Beta Was this translation helpful? Give feedback.
-
Resolved with #4289 |
Beta Was this translation helpful? Give feedback.
-
I made an example of how to get a user's ip address and subsequently the user's location using sveltekit. Repo - https://github.com/CAPTAIN320/sveltekit-user-ip-location-example |
Beta Was this translation helpful? Give feedback.
Resolved with #4289