mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
fix: make flask-cors a core dependency (#34115)
This commit is contained in:
committed by
GitHub
parent
0d236c4ade
commit
73dfe57ae2
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user