Hello, I added my Netlify url as my Hostname and i get this CORS error. I also removed the localhost from the hostname, but still have access when i start the app on localhost.
here it is
how to fix this?
are you sure there are no other spaces before or after the hostname?
Also, I think your app is missing the project ID
my .env wasn't working on netlify, now its fixed and working, thank you Steven <:appwriterocket:823996226894692403>
[SOLVED] CORS error on React app
Recommended threads
- Locked out of account
Hey guys, I have a paid account and have been locked out. Apologies for using this method, but I'm getting no response via the contact us page. I had a old do...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Can not get the logged in user data in N...
I'm trying to get the user data after i log in with otp but it get this error : AppwriteException: User (role: guests) missing scopes (["account"]) at Gen...