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
- Appwrite Storage service-selling
If I create a paid service, where among many other features, I offer my users a way to upload files on their personal storage "drive" with a limit of X GB, woul...
- [CLOSED] Console sign in/sign up using e...
Hello dear Appwrite Communauty, I discovered Appwrite a few weeks ago. I successfuly installed a self-hosted instance on my PC using the provided docker-compos...
- I need help in appwrite collection relat...
I am working on a side project and using appwrite i am currently implementing comments functionality for this i am using a separate comments collection and insi...