
Hey! I just hosted my website on my domain, and i made a web platform with the domain set. However, when i try to do smth like reset password it says
Access to fetch at 'https://cloud.appwrite.io/v1/account/recovery' from origin 'https://www.proxilink.info' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://localhost' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I dont know where the localhost hvalue is coming from, can you please help?

Did you add your domain as an allowed web platform?

yep!

i think it may be happening because i am sending it from my mobile app i am making on expo (whcih im running locally rn) and then it sends you to our website hosted on another domain to reset the password

do you think that is why?

So do you have that other domain added as a web platform? Can you share a screenshot?

yep!


it says this on network

and my project id and all is set

You added proxilink.info, but your app is on www.proxilink.info

that makes a difference?

gotcha

lets test

oMG

god bless you steven

🙏

thank you sir, appreciate the fast help 🫡

Happy to help!
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
