79577037

Date: 2025-04-16 11:20:49
Score: 1.5
Natty:
Report link

The problem is not that the path is wrong, but the fact you put it next to your main.ts. ThreeJS treats the binary .glb file as a static asset, this means they have to be in the /public/ directory to be able to work in your browser. So the solution is to put it in the public folder of your project structure.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jaap Moerkerk