Does not reading 3d model

Hi all! I’m trying to import a 3d model into three js. I am using the code that is written in the documentation:
const loader = new GLTFLoader();
loader.load(
‘/static/assets/scene.glb’,
function ( gltf ) {

scene.add( gltf.scene );
}
);
, but for some reason it gives the following errors:
GET http://localhost:3000/static/assets/scene.glb 404 (Not Found)
HttpError: fetch for “http://localhost:3000/static/assets/scene.glb” responded with 404: Not Found at three.module.js:41869:1
What can this be related to? The path seems to be correct, the library three js and GLTFLoader imported.
Thanks in advance!

If you open chrome and go to http://localhost:3000/static/assets/scene.glb - does the asset automatically download? If not, you’re not serving the asset properly.

What webserver are you using to server the assets?

I’m reading it off my computer. Can I make it work, or do I have to upload the assets to the website?

Browser cannot access local files on the computer - you need a webserver running locally to make the files accessible (example)

Got it, thanks so much for your help!