I followed a tutorial how to setup a basic front-end and back-end app (post) in an ACA environment, as follows:
a. backend - python-fastapi (I've implemented CORS related config to enable it)
b. frontend - old school html, using fetch to get and post POSTS(Ingress - External)
Here is the problem, the whole thing works if the backend is in ingress-external/public but once I changed it to ingress-internal (within Container Apps Environment only) and accordingly I will change the api url in the frontend (with the internal keyword), I'm getting CORS error.
Any idea?