
Hi, please i have maybe weird question. When i am using locale.get() it returns me my IP when i am on localhost. But when it is in production it returns IP of server that hosts it (vercel). I thought that it uses JWT to get IP of user, but it only returns IP of server that is requesting, is it right? Or am i doing something wrong? I know, i can call it on client-side, but i am using sveltekit(SSR). BTW i call locale.get() on server-side with JWT.

Locale.get will give you the user IP only from the client side SDK

JWT will authenticate on behalf of the user but it will still execute from the server therefore you'll get the server IP

Thank you very much

[SOLVED] locale API
Recommended threads
- [Bug] `collection` is an unusable attrib...
**Reproduction** - Create a string attribute called `collection` in Appwrite databases - Create a new document using the `node-appwrite` SDK and assign any str...
- Got server error 500 "general_unknown" w...
My function responds a small ogg audio data, the console showed successful executions, but I got a server error from the client sdk (Android/Kotlin): ```json { ...
- Sites takes a bit longer with better res...
site: devaxis.appwrite.network cc: <@185460546336718859> https://discord.com/channels/564160730845151244/564160731327758347/1407009490745823334 I dont know if ...
