fix: make flask-cors a core dependency (#34115)

This commit is contained in:
Maxime Beauchemin
2025-07-09 14:54:39 -07:00
committed by GitHub
parent 0d236c4ade
commit 73dfe57ae2
10 changed files with 301 additions and 563 deletions

View File

@@ -8,11 +8,11 @@ version: 1
## CORS
To configure CORS, or cross-origin resource sharing, the following dependency must be installed:
```python
pip install apache_superset[cors]
```
:::note
In Superset versions prior to `5.x` you have to install to install `flask-cors` with `pip install flask-cors` to enable CORS support.
:::
The following keys in `superset_config.py` can be specified to configure CORS: