**This problem happend while using .env file only **
Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1;/account/sessions/email' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
while using .nve getting error enter image description here Without .nve not getting error enter image description here enter image description here
Why not workibg with .env file