Skip to content

Commit b870f97

Browse files
committed
Change CDN from Unpkg to jsDelivr
jsDelivr supports CORP (https://resourcepolicy.fyi/#cross-origin) and seems more robust.
1 parent 8933dcc commit b870f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<link rel="apple-touch-icon" href="icons/Icon-192.png">
2828

2929
<!-- Mapbox -->
30-
<script src='https://unpkg.com/mapbox-gl@latest/dist/mapbox-gl.js'></script>
31-
<link href='https://unpkg.com/mapbox-gl@latest/dist/mapbox-gl.css' rel='stylesheet' />
30+
<script src='https://cdn.jsdelivr.net/npm/mapbox-gl/dist/mapbox-gl.min.js'></script>
31+
<link href='https://cdn.jsdelivr.net/npm/mapbox-gl/dist/mapbox-gl.min.css' rel='stylesheet' />
3232

3333
<title>OpenHaystack Mobile</title>
3434
<link rel="manifest" href="manifest.json">

0 commit comments

Comments
 (0)