I have a “simple.wasm” file in my /public folder.
const r = await fetch('/simple.wasm');
returns a 410 “Gone” error
the file is in the build (I checked in the local/build/programs/web.browser/app folder).
What’s wrong ?
I found that sometimes you need to restart the meteor server to get new files in public to be served. Have you restarted the server?
Yes, I did restart, to no avail.
If I remember right, fetch is not aware of internal routes, you would need to fetch from
`${Meteor.absoluteUrl()}simple.wasm`
But fetch(’/manifest.json’); works