fix: Read MAPBOX_API_KEY from environment (#16926)
This commit is contained in:
parent
c536f713d6
commit
0870a0b046
|
|
@ -44,3 +44,4 @@ SUPERSET_ENV=development
|
||||||
SUPERSET_LOAD_EXAMPLES=yes
|
SUPERSET_LOAD_EXAMPLES=yes
|
||||||
CYPRESS_CONFIG=false
|
CYPRESS_CONFIG=false
|
||||||
SUPERSET_PORT=8088
|
SUPERSET_PORT=8088
|
||||||
|
MAPBOX_API_KEY=''
|
||||||
|
|
|
||||||
|
|
@ -44,3 +44,4 @@ SUPERSET_ENV=production
|
||||||
SUPERSET_LOAD_EXAMPLES=yes
|
SUPERSET_LOAD_EXAMPLES=yes
|
||||||
CYPRESS_CONFIG=false
|
CYPRESS_CONFIG=false
|
||||||
SUPERSET_PORT=8088
|
SUPERSET_PORT=8088
|
||||||
|
MAPBOX_API_KEY=''
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ SUPERSET_WEBSERVER_TIMEOUT = 60
|
||||||
### Why is the map not visible in the geospatial visualization?
|
### Why is the map not visible in the geospatial visualization?
|
||||||
|
|
||||||
You need to register a free account at [Mapbox.com](https://www.mapbox.com), obtain an API key, and add it
|
You need to register a free account at [Mapbox.com](https://www.mapbox.com), obtain an API key, and add it
|
||||||
to **superset_config.py** at the key MAPBOX_API_KEY:
|
to **.env** and **.env-non-dev** at the key MAPBOX_API_KEY:
|
||||||
|
|
||||||
```
|
```
|
||||||
MAPBOX_API_KEY = "longstringofalphanumer1c"
|
MAPBOX_API_KEY = "longstringofalphanumer1c"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue