plavacquery commented on PR #33603:
URL: https://github.com/apache/superset/pull/33603#issuecomment-3046542453

   > Hey guys! First of all I want to thank you for amazing work you do. I am 
also working on attaching OSM layer to Superset. I tried to follow your 
instructions, but I could not accomplish it. Is there any specific reasons that 
it fails? my config: MAPBOX_API_KEY = ""
   > 
   > DECKGL_BASE_MAP = [ 
["tile://https://c.tile.openstreetmap.org/{z}/{x}/{y}.png";, "OpenStreetMap"], ]
   > 
   > ENABLE_CORS = True CORS_OPTIONS: dict[Any, Any] = { "origins": [ 
"https://c.tile.openstreetmap.org";, ] }
   > 
   > TALISMAN_ENABLED = False TALISMAN_DEV_CONF = { "content_security_policy": 
{ "default-src": ["'self'"], "img-src": [ "'self'", "data:", "blob:", 
"https://c.tile.openstreetmap.org"; ], "connect-src": [ "'self'", 
"https://c.tile.openstreetmap.org"; ] } } This is what I get in logs: 
`werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found 
on the server. If you entered the URL manually please check your spelling and 
try again`
   > 
   > Could you please guys shed a light on what I am doing wrong?
   
   Hello @hemashoe, just remove "tile://" in your DECKGL_BASE_MAP cause 
c.tile.openstreetmap.org is not an internal url


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to