shx-3d-render
parent
383cf3b391
commit
12cd0d6b94
|
@ -19,6 +19,12 @@
|
|||
|
||||
{% elsif content_type == 'init' %}
|
||||
|
||||
|
||||
{% liquid
|
||||
capture shx_get_environment
|
||||
render "shx-get-environment"
|
||||
endcapture %}
|
||||
|
||||
<style>
|
||||
.shx-input-forms-container {
|
||||
overflow: hidden;
|
||||
|
@ -647,7 +653,7 @@
|
|||
|
||||
const Viewer3D = this.Viewer3D;
|
||||
|
||||
this.Viewer3D.src = "https://3d-viewer.shinnex.de/";
|
||||
this.Viewer3D.src = {% if shx_get_environment == "production" %}"https://3d-viewer.shinnex.de/"{% elsif shx_get_environment == "production" %}"https://3dview.wasgehtsiedasan.shinnex.de/"{% endif %};
|
||||
this.Viewer3D.classList.add('shx-threejs-renderer');
|
||||
this.Viewer3D.style.width = this.container.offsetWidth + 'px';
|
||||
this.Viewer3D.style.height = this.container.offsetWidth + 'px';
|
||||
|
|
Loading…
Reference in New Issue