Pages not making static asset available

Hi there,

I recently deployed a static generated site built with Vite on Pages. I have a bunch of static assets hosted in the public folder that I’m expecting to be available.

When I build the site, the dist folder has the files in the right spot however when I access them on the live site they aren’t available.

It seems almost as though Pages isn’t checking the folder structure on request and blindly routing to index.html. Even if I enable 404.html it does the same thing.

Any suggestions?

David

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.