
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
- My organization deleted, how??
Getting error mesasges and I can't find my organization.
- Google OAuth2 screen loop issue in Flut...
i am trying to authenticate user on my app using google, everything works fine, but even after succesfull authentication instead of redirecting back to the app,...
- Invalid Origin. Register your new client
Hey everyone. Thought I would give the new FlutterFlow Authentication Kit a whirl. No matter what I try in regards to the setup of the iOS platform in the dashb...
