CSS and JS files in dist give 404 but I can still access them with CURL

Hi

I’ve deployed a Astro site with server side rendering using the Netlify adapter.
The problem I have now is that the site gives 404’s for .JS and .CSS files.
When I do curl I can get the files. But in the browser it gives 404’s.

The url of my site: https://amexio-fuse-preview.netlify.app/en/
Open the network tab and look at the 404’s yourself.

I can also clearly see all the files inside the dist publish directory:

There’s something strange happening here. I’ve passed it on to the devs!

Thank you very much, I’ve banged my head on this for many hours

This should now be fixed.

Amazing thanks! It is indeed fixed now.

1 Like