shx-3d-render

main
Jan Umbach 2024-06-13 18:33:31 +02:00
parent da8ec19eb0
commit f61c9793e2
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
renderView() {
// request data from server
fetch('https://render.shinnex.de/render/' + this.currentVariant)
fetch('https://render.shinnex.de/render/' + this.currentVariant, { method: 'POST', body: JSON.stringify(globalInputFormsObjValues[this.currentVariant]) })
.then((response) => {
// stl file
return response.blob();
@ -122,7 +122,7 @@
let newTab = window.open(objectURL, '_blank');
newTab.focus();
});
}
reloadCurrentVariant(id, openAnimation = false) {