FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

blocked: mixed-content / CORS errors

Open geuben opened this issue 2 years ago • 1 comments

Screenshot 2024-02-14 at 23 33 09

blocked: mixed content or CORS request errors (if I allow insecure content)

I updated from version 0.4 and I'm now seeing errors when I deploy to my K8S cluster. Everything works locally on http but not via https when deployed.

Did something change in the way the UI parts call the API parts?

geuben avatar Feb 14 '24 23:02 geuben

I managed to solve this with some additional uvicorn parameters --proxy-headers --forwarded-allow-ips

it's related to a starlette issue: https://github.com/encode/starlette/issues/538

geuben avatar Feb 15 '24 09:02 geuben