I'm getting a CORS error when trying to access my custom domain API endpoint from localhost. The custom endpoint is set up at appwrite.sparkandmint.com and I think the /v1 path works as intended. However, my domain is hosted on GoDaddy where SSL is really expensive so I decided to point the sub-domain CNAME to Netlify where I can use a free Let's Encrypt SSL cert and just re-direct to cloud.appwrite.io from there (which works if you visit the endpoint). I have added all the hostnames (wildcard, localhost etc.) in multiple platforms but I can't get past the CORS error. Is my Netlify hack causing the CORS? Do I really have to pay a ton of money on GoDaddy to add SSL to 1 subdomain? Is there any other way I can do this?
Netlify? Yes, you can't do that.
Appwrite will generate the certificate. Just create a CNAME to point to Appwrite
Ok so I need to set up the SSL for my sub-domain in GoDaddy?
No, you don't need to set up any ssl. Just create a CNAME record pointing to cloud
Oh ok, I was running into some cert issues when I did that and thought that was the issue
Let's see what error I got, sec
Recommended threads
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- Update row sheet not loading
After right clicking a row header and click update, the sidebar fails to load (never-ending skeleton)
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...