I can't solve my script problem. I have tried deploying my application on render.com however i keep getting this error for all of my javascript files. the application runs perfectly when I use VS Codes live server but once deployed this error appears. I would really appreciate if someone was able to help me resolve this issue. I have also linked images.
JS:
<script type="module" src="/public/JS/setupCart.js"></script>
<script type="module" src="/public/JS/app.js"></script>
Error:
setupCart.js:1 : Failed to load resource: the server responded with a status of404 ()
app.js:1 : Failed to load resource: the server responded with a status of404 ()
Live link to application here: https://guided-fashion.onrender.com
Github repo: https://github.com/ddelimond/Guided-Fashion
In similar, kind of scenario I would suggest you to do