|
@@ -1271,7 +1271,7 @@ const preview = async () => {
|
|
|
let width = meta2d.store.data.width||meta2d.store.options.width||1920;
|
|
|
let height = meta2d.store.data.height||meta2d.store.options.height||1080;
|
|
|
let minScle = Math.min(window.innerWidth/width,window.innerHeight/height);
|
|
|
- let url = `/preview?r=${Date.now() + ''}`;
|
|
|
+ let url = import.meta.env.BASE_URL.slice(0, -1) + `/preview?r=${Date.now() + ''}`;
|
|
|
if (data.id) {
|
|
|
url += `&id=${data.id}`;
|
|
|
}
|