Skip to content

Commit f64b4ca

Browse files
committed
Fix loading dependency
1 parent c54a8a0 commit f64b4ca

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/resources/globe.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ window.addEventListener('resize',function(event){
1313
globe.width(event.target.innerWidth);
1414
});
1515

16-
globe.backgroundImageUrl('//unpkg.com/three-globe/example/img/night-sky.png');
17-
globe.bumpImageUrl('//unpkg.com/three-globe/example/img/earth-topology.png');
16+
globe.backgroundImageUrl('//cdn.jsdelivr.net/npm/three-globe/example/img/night-sky.png');
17+
globe.bumpImageUrl('//cdn.jsdelivr.net/npm/three-globe/example/img/earth-topology.png');
1818
globe.globeImageUrl('earth.png');
1919

2020
globe.arcAltitude(0);
@@ -136,4 +136,4 @@ function updateGlobe(){
136136
}
137137

138138
setInterval(updateGlobe,1_000);
139-
updateGlobe();
139+
updateGlobe();

src/main/resources/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta content="LBRY Globe" property="og:title" />
1010
<meta content="website" property="og:type" />
1111
<meta content="//globe.lbry.org" property="og:url" />
12-
<script src="//unpkg.com/globe.gl"></script>
12+
<script src="//cdn.jsdelivr.net/npm/globe.gl"></script>
1313
<script src="/globe.js?v=${GLOBE_JS_VERSION}"></script>
1414
<title>LBRY Globe</title>
1515
</head>
@@ -39,4 +39,4 @@
3939
</div>
4040
<div class="version"></div>
4141
</body>
42-
</html>
42+
</html>

0 commit comments

Comments
 (0)