Problem
The name of the config option server.enableCORS is confusing. As mentioned by @snehankekre in this forum post, the real behavior of this option makes it so that a better name would be server.enableCORSProtection.
Solution
Rename config option server.enableCORS to server.enableCORSProtection (and remember to update API Reference docs).
Additional context
This is even marked as "TODO" in the source code, but didn't have a GitHub issue opened until now 😅.
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
Problem
The name of the config option
server.enableCORSis confusing. As mentioned by @snehankekre in this forum post, the real behavior of this option makes it so that a better name would beserver.enableCORSProtection.Solution
Rename config option
server.enableCORStoserver.enableCORSProtection(and remember to update API Reference docs).Additional context
This is even marked as "TODO" in the source code, but didn't have a GitHub issue opened until now 😅.
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.