donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.06k stars 530 forks source link

Render.com #368

Closed popartchab closed 2 months ago

popartchab commented 2 months ago

Good morning, When I test the viewer via Render.com, instead of previewing the gltf file online, it downloads the file to me when I drag and drop. How to configure the viewer on Render.com?

donmccurdy commented 2 months ago

Hi @popartchab — if dropping the file into the page downloads the file, that would suggest that the JavaScript bundle is not loaded, or has thrown an error. I think you'll need to confirm that Render is building and deploying the JavaScript bundle correctly, or reach out for support in communities related to Render.