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
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help