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
- Current User is Not authorized
recreating same Thread
- Cant configure email templates
i configure it on the console, and when i send the OTP, it sends with appwrite's email (instead of custom smtp) and with the branding, but i have the Pro (educa...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...