Skip to content

Commit 3dba8a9

Browse files
authored
Merge pull request #655 from steeznson/patch-1
Update map.py to fix broken unpkg urls
2 parents 2ed45a3 + ef98c81 commit 3dba8a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

folium/map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
_default_js = [
3030
('leaflet',
31-
'https://unpkg.com/leaflet@1.1.0/dist/leaflet.js'),
31+
'https://cdn.jsdelivr.net/npm/leaflet@1.1.0/dist/leaflet.js'),
3232
('jquery',
3333
'https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'),
3434
('bootstrap',
@@ -43,7 +43,7 @@
4343

4444
_default_css = [
4545
('leaflet_css',
46-
'https://unpkg.com/leaflet@1.1.0/dist/leaflet.css'),
46+
'https://cdn.jsdelivr.net/npm/leaflet@1.1.0/dist/leaflet.css'),
4747
('bootstrap_css',
4848
'https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'),
4949
('bootstrap_theme_css',

0 commit comments

Comments
 (0)