When deploying my app, I encounter an issue where the .glb file in my three.js project receives a 404 resource not found error. Despite trying to adjust the file path without success, the deployment of the entire project is flawless. For local running, I am utilizing Vite.js.
For more details, you can visit my Github repo at https://github.com/ElijahSchrock/Neo-Runner
You can access the deployed app on Heroku at
To view my package.json, click here: Here is my package.json
If you're interested in my create character function, check it out here: Here is my create character function
I also found insights from Don McCurdy's response on the threejs forum regarding this issue, which you can read here:
In addition, I have included both the static build pack and the nodejs buildpack in my setup. Any assistance would be greatly appreciated! Thank you! :)