I ran my file by open it in Firefox but today it doesn’t work because of this warning I guess:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///E:/Programming/Unity/Projects/Nestables/three-js/assets/ThreeJS/models/block/grass_block.gltf. (Reason: CORS request not http)
BTW I want to run local server and run my html file on it.
I try to use nodejs for it.
I follow all the things here but it doesn’t run it in the browser.
This is a log in cmd:
"GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
Where is the problem ?