superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Better default for MAPBOX_API_KEY (#4660)
Date Thu, 22 Mar 2018 00:13:13 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new ec06967  Better default for MAPBOX_API_KEY (#4660)
ec06967 is described below

commit ec069676fd2d9d70e61c4e28ad0989ebba815684
Author: Beto Dealmeida <roberto@dealmeida.net>
AuthorDate: Wed Mar 21 17:13:09 2018 -0700

    Better default for MAPBOX_API_KEY (#4660)
---
 superset/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/config.py b/superset/config.py
index a7e7210..0ff4e3b 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -246,7 +246,7 @@ INTERVAL = 1
 BACKUP_COUNT = 30
 
 # Set this API key to enable Mapbox visualizations
-MAPBOX_API_KEY = ''
+MAPBOX_API_KEY = os.environ.get('MAPBOX_API_KEY', '')
 
 # Maximum number of rows returned in the SQL editor
 SQL_MAX_ROW = 1000000

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message