ah okay, I'll take a look ty
over here?
Only 1
That should be the IP I think
ah okay, do you mean the ip address of the server hosting my domain?
127.0.0.1
I'm still getting the cors error, is there maybe something else I could have done wrong?
No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
actually there wasn't a header present this time
Hmmm interesting. What's the code?
@D5 Wouldn't the hostname need to be "api.apoth.dev" for the Platform?
Nope. That's the appwrite hostname, not the frontend hostname to my understand
window.client = new Appwrite.Client() .setEndpoint('https://api.apoth.dev/v1')
a snippet from the auth.js I use to log users in
Looks like your endpoint is not pointing to appwrite
But to a litespeed 404 page
ah okay
litespeed would be my hosting.com account then
Yes, it's not pointing to appwrite correctly. Make sure you have only one DNS A record pointing to your appwrite instance for that subdomain
one dns A record pointing to ('https://api.apoth.dev/v1') ?
will give that a wirl
I only have a cname atm for the api subdomain of my main domain which was auto generated by my cloudflared tunnel
still having the same issues, could anything else be causing my endpoint to be broken?
An A record pointing to your appwrite instance IP address
oh so an A record in my cloudflare dns for api.mydomain.com to 127.0.0.1:80?
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...