Ipfs.io/ipfs 404 on web application


I build a simple website in svelte and pinned it on Pinata. When visiting the website (Svelte + TS + Vite App) I get a 404 on the javascript and css.

This makes sense as it’s trying to get https://ipfs.io/assets/index.c0fd1420.js instead of the correct path. Does anyone know how to get around this? Is this a question for the svelte community?

Thank you!