Streamlit on Pivotal (Cloud Foundry)

First of all, thanks for sharing.
I am working on a similar project and get the fowlloing error:

Is there a way to run the server with CORS enabled?
Meaning, how can I specify allowed host?
Is there a --server.allowed hosts or something?