
All the methods GET,POST etc are working but DELETE request is giving a CORS error while signing out the user.I have set the endpoint as localhost in appwrite web integration, but still having this issue.
My code is as below: async logout(){ try { const account = await this.account.deleteSession('current') return account } catch (error) { console.log("Appwrite :: logout :: ", error); throw error } }
Recommended threads
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Pending upload some file, but not for ot...
When upload this file, always got pending. But when I upload another file, it works. Why?
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
