|
@@ -79,10 +79,10 @@ export const initialSDK = async (props: InialSDKProps) => {
|
|
|
if (initialed) return;
|
|
|
initialed = true
|
|
|
const libs = [
|
|
|
- `/lib/proj4/proj4.js`,
|
|
|
- `/lib/jquery/jquery-3.1.1.min.js`,
|
|
|
- `/lib/other/BinaryHeap.js`,
|
|
|
- `/lib/tween/tween.min.js`,
|
|
|
+ `./lib/proj4/proj4.js`,
|
|
|
+ `./lib/jquery/jquery-3.1.1.min.js`,
|
|
|
+ `./lib/other/BinaryHeap.js`,
|
|
|
+ `./lib/tween/tween.min.js`,
|
|
|
]
|
|
|
await Promise.all(libs.map(loadLib))
|
|
|
await loadLib(`/lib/potree/potree.js`)
|