hiukim / mind-ar-js

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

No matter if I run 1.2.3 in my local Laragon or in my public Apache site, I get the same error about wrong MIME types. #441

Open pablx-ts opened 11 months ago

pablx-ts commented 11 months ago

/2022/ar/mind-ar-js-1.2.3/src/ui/scanning.html?raw:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec. /2022/ar/mind-ar-js-1.2.3/src/ui/compatibility.html?raw:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec. /2022/ar/mind-ar-js-1.2.3/src/ui/loading.html?raw:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

zhangmeng1847 commented 6 months ago

Have you solved your problem?

hiukim commented 5 months ago

not sure. but I guess there is some webserver settings that can resolve that.