Web Developer
I think i set the Endpoint correctly in my config.ts als the cloud.appwrite url but when i try to create a user I get this Error message: Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api.ts:17 AppwriteException: Network request failed
at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:862:15)
at Generator.throw ()
at rejected (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:495:32)
SignupForm.tsx:33 AppwriteException: Network request failed
at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:862:15)
at Generator.throw ()
at rejected (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=1b18edb2:495:32)
api.ts:8
POST https://cloud.appwrite.io/v1/account net::ERR_FAILED 404 (Not Found)