
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
- Storage getFilePreview for GIF file retu...
Used to work in 1.6.x but with 1.7.4 upgrade it seems to be broken.
- Admin panel
- Settings page on storage in a bucket goe...
When navigating to a settings page in a bucket i recieve a 404 with the following error: ``` 2025-06-06T12:02:46.582655899Z [Error] File: /usr/src/code/app/cont...
