diff Sources/viewer.js @ 10:549ba7ada071

make the viewer use the /instances/.../stl route
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jul 2023 12:34:32 +0200
parents 0f03a8a0bd6f
children dd0cd39e6259
line wrap: on
line diff
--- a/Sources/viewer.js	Tue Jul 18 17:05:23 2023 +0200
+++ b/Sources/viewer.js	Thu Jul 20 12:34:32 2023 +0200
@@ -65,7 +65,8 @@
   
 const loader = new STLLoader()
 loader.load(
-  '../../instances/' + instanceId + '/content/0042-0011',
+  //'../../instances/' + instanceId + '/content/0042-0011',
+  '../../instances/' + instanceId + '/stl',
   function (geometry) {
     const frustumSize = 200;