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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...