selfhosting
and do you have something in front of Appwrite like a reverse proxy?
The user said that no
Is Appwrite installed locally where the emulator is running?
Yes, appwrite is deployed on a vps server
And the Android emulator is on that vps server?
No, it's physical device
Just my phone
Are you connecting to Appwrite through a VPN?
I'm curious what the 172.18 network is...
Did you install Appwrite using the docker install command?
No, i didn't use vpn
"Did you install Appwrite using the docker install command?" yes
Oooh wait this is in a function!
yep)
locale.get() fetches the current clients locale so this result is expected
The current client is the function
I see, thanks
Is there a way to restrict the executes of a specific function? The function calls sms and it will be bad if someone abuses it
Set execute permissions on the function
I mean to reduce count of execution per minute
Keep track of the count and then don't call the API got the sms
But if they spam for different phone numbers?
And?
The fact is that this function is available to unauthorized users. I can only limit it to guests only (anonymous sessions). Therefore, I cannot save the id of the user who called the function
sorry, can't help you there
okay, thanks
Recommended threads
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...