Spaces:
Running
Running
LogicalTrue commited on
Commit ·
485eec8
1
Parent(s): cfff9c6
Fix undefined apiBase reference in viewer.html
Browse files- frontend/viewer.html +1 -2
frontend/viewer.html
CHANGED
|
@@ -1593,8 +1593,7 @@
|
|
| 1593 |
const resData = job.result;
|
| 1594 |
const modelUrl = resData ? (resData.gltfUrl || resData.glbUrl) : null;
|
| 1595 |
if (modelUrl) {
|
| 1596 |
-
|
| 1597 |
-
loadModelInViewer(absoluteUrl);
|
| 1598 |
} else {
|
| 1599 |
alert('¡Modelo 3D creado con éxito! Se ha añadido a tu biblioteca.');
|
| 1600 |
}
|
|
|
|
| 1593 |
const resData = job.result;
|
| 1594 |
const modelUrl = resData ? (resData.gltfUrl || resData.glbUrl) : null;
|
| 1595 |
if (modelUrl) {
|
| 1596 |
+
loadModelInViewer(modelUrl);
|
|
|
|
| 1597 |
} else {
|
| 1598 |
alert('¡Modelo 3D creado con éxito! Se ha añadido a tu biblioteca.');
|
| 1599 |
}
|