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
- unlike any other provider, your sites DN...
your nameservers dont work with a funny little CNAME error, which is a weird bug but thats what you get when you try to be the kitchen sink, funny errors.
- general_unauthorized_scope
localhost oauth not working. general_unauthorized_scope error showing. { "message": "User (role: guests) missing scopes ([\"account\"])", "code": 401, ...
- Weird Table Causes Console to break
I dont even know how this even happened looks like the $createdAt and , $id got switched? <@831428608895615056>