hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.13k stars 394 forks source link

Mindar Studio example not working when deployed in Amazon amplify #437

Closed sundaram75 closed 5 months ago

sundaram75 commented 11 months ago

I tried exporting the code in https://studio.mindar.org/ with default 3D object ( glasses) to a webserver. The code works well when deployed on a local webserver. But when I tried to host it on Amazon Amplify it is failing with 404 error on trying to get _x1. The code is deployed here https://test.d3gjein32q5cd9.amplifyapp.com/ The browser used is Chrome Version 115.0.5790.110 (Official Build) (64-bit). Could someone please help me to resolve the issue? Do i need to change some settings on the webserver ? I'm not sure if this is an issue with the code.

Please see a screenshot of the error here.

image

hiukim commented 5 months ago

not sure about amplify. but the errors seems to indicate that file is missing. probably have something to do with the file path resolution.