I am using Appwrite for the first time. While I am developing the simple todo application with apperite cloud, I got an error, Here I mentioning the error which I have got .
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://hl-appwriter.buildapi.cyou/v1/account. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.
Have you added your new website address inside the Web Integration process?
In dev you can field it with *
but remember to change it in production
the website is currently runs on localhost
So you can write localhost in the host name
*
will cover all options
Where can I access that page?
On Platforms
on the bottom you'll have option to add one, choose Web
P.s. It's looks like you're using an outdated version of Appwrite
This is the look-and-feel in the updated version
How can I get the updated version. I just installed the appwrite..
Could you provide a solution for that?
How did you installed it?
its provided from my company, They installed on the cloud.
Okay, so they need to follow one of the methods available in this URL https://appwrite.io/docs/installation#installWithDocker
If you're using DigitalOcean then you also have an auto-deploy option https://marketplace.digitalocean.com/apps/appwrite
Anyhow for your use-case you can keep doing so by adding a new platform in the main project view.
okay thankyou
Please make sure you're using HTTPS for your endpoint
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...