瀏覽代碼

HUE-6997 [core] Leaflet_tile_layer should allow case sensitive URIs

Ying Chen 8 年之前
父節點
當前提交
583b541
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -376,7 +376,7 @@ COLLECT_USAGE = Config(
 LEAFLET_TILE_LAYER = Config(
   key="leaflet_tile_layer",
   help=_("Tile layer server URL for the Leaflet map charts. Read more on http://leafletjs.com/reference.html#tilelayer. Make sure you add the tile domain to the img-src section of the 'secure_content_security_policy' configuration parameter as well."),
-  type=coerce_str_lowercase,
+  type=str,
   default="http://{s}.tile.osm.org/{z}/{x}/{y}.png")
 
 LEAFLET_TILE_LAYER_ATTRIBUTION = Config(