Hello all, I need some help to properly config my apps in order to prevent third parties’ cookies between frontend and backend.
here is what I already did:
- My backend is written in Golang and hosted here at the fly.io (let’s call it back.fly.dev )
- My frontend is in React and is hosted in another platform XPTO (let’s call it domain.com )
- In that other platform the dns-domain was created and recorded as a type A to www.domain.com
- Now I need to keep both applications under the same domain, for that in the platform XPTO I created a CNAME pointing to back.fly.dev, called: api.domain.com
but unfortunately, this CNAME configuration is not redirecting, should some other config be done from fly.io side? or something else?
Thank you for your help.