|
@@ -7,7 +7,7 @@ export const enter = (dom, isLocal) => {
|
|
|
|
|
|
Potree.settings.isOfficial = true //标记为正式、非测试版本
|
|
|
//Potree.fileServer = axios
|
|
|
- Potree.settings.libsUrl = isLocal ? './lib/' : '../lib/' //local的话只有从本地那个页面进入才能访问
|
|
|
+ Potree.settings.libsUrl = window.location.href.includes('http://localhost:5173/') ? '../lib/':'./lib/' //在深时本地版访问这个时是'./lib/',但本地调试是前者
|
|
|
|
|
|
Potree.settings.notAdditiveBlending = true
|
|
|
|