thgh / vercel-sapper

Vercel builder for Sapper with SSR enabled
MIT License
189 stars 25 forks source link

Static assets not being applied on node app on vercel #70

Closed snehathakur07 closed 6 months ago

snehathakur07 commented 6 months ago

image This is my project, a portfolio website, when im deploying it on vercel, only the html file is loading none of the static assets are loading, for styles.css, the console throws "Refused to apply style from 'https://sneha-thakur-rf8eol8eg-snehathakur07s-projects.vercel.app/styles/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled." theres an error for every static asset(css , js, images etc)

thgh commented 6 months ago

I'm not affiliated with Vercel, you could ask on https://github.com/vercel/vercel