Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7ff763

Browse files
committed
chore: replace the CDN from unpkg to jsdelivr
1 parent d4779cc commit c7ff763

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

examples/effects_stereo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<script type="importmap">
2424
{
2525
"imports": {
26-
"three": "https://unpkg.com/[email protected]/build/three.module.js",
27-
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
26+
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
27+
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
2828
}
2929
}
3030
</script>

examples/misc_collada.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<script type="importmap">
2626
{
2727
"imports": {
28-
"three": "https://unpkg.com/[email protected]/build/three.module.js",
29-
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
28+
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
29+
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
3030
}
3131
}
3232
</script>

examples/view_3d_map_webxr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script type="importmap">
1515
{
1616
"imports": {
17-
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
17+
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
1818
}
1919
}
2020
</script>

examples/view_multi_25d.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<script type="importmap">
1818
{
1919
"imports": {
20-
"three": "https://unpkg.com/[email protected]/build/three.module.js",
21-
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
20+
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
21+
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
2222
}
2323
}
2424
</script>

src/Parser/LASLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Las } from 'copc';
2626
*/
2727
class LASLoader {
2828
constructor() {
29-
this._wasmPath = 'https://unpkg.com/[email protected]/lib/';
29+
this._wasmPath = 'https://cdn.jsdelivr.net/npm/[email protected]/lib/';
3030
this._wasmPromise = null;
3131
}
3232

0 commit comments

Comments
 (0)