[enter image description here](https://i.stack.imgur.com/5BNhK.png) Help me to solve this cors error

I have tried to give permission for all platforms by putting aestrik before localhost but it didnt work and selected a platform web in my appwrite project

1

There are 1 best solutions below

0
Ravi Yadav On

You should use port number along with the domain name. So add the Hostname as localhost:{port}. Or just use asterisk *, but this will not work if you have allow credentials header set.