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
- unlike any other provider, your sites DN...
your nameservers dont work with a funny little CNAME error, which is a weird bug but thats what you get when you try to be the kitchen sink, funny errors.
- Weird Table Causes Console to break
I dont even know how this even happened looks like the $createdAt and , $id got switched? <@831428608895615056>
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...