
we have appwrite instance running on a VPS with ip of 192.168.1.75 on Docker ! then
i have add A record in cloudflare and mapped the ip to domain of app.kajelevator.ir
also i built web flutter application deployed on cloudflare pages and mapping the custom domain of it to kajelevator.ir that effected DNS configurations in cluodflare to have a CNAME record with kajelevator.ir content kajelevator.pages.dev
Now the record look like this
type name content
A app 192.168.1.75
CNAME kajelevator.ir kajelevator.pages.dev
now from flutter pwa witch is kajelevator.ir when i send request to my app instance i got a CORS error. how to fix it ?
with reserch and using ai i have edited .env file of docker with following things
.env _APP_DOMAIN_TARGET=app.kajelevator.ir _APP_DOMAIN=kajelevator.ir _APP_CORS_ALLOW_ORIGIN=https://kajelevator.ir
but the error persist and the error is this:
Recommended threads
- Attribute creation stuck at processing f...
Hey Appwrite community! 👋 I'm running into a persistent issue with my self-hosted Appwrite installation (v1.6.1) where programmatically creating attributes fo...
- Could not open input file: /usr/src/code...
I updated my selfhosted instance to `1.6.2` and the new service (`appwrite-task-stats-resources`) failed to start. The only log message I see is: ``` Could not ...
- functions page returns 500
I am running selfhosted appwrite version 1.6.0 and all of a sudden my functions page stopped working, returning a 500. I don't see anything in the logs that wo...
