CSS and JS files won't load

Hi! I generated a blog using the astro cactus template, and for some reason the javascript and css files wont load. Here’s what it shows:

When I click on the javascript/css link, it shows the html of my homepage instead of the js/css code.

I tried uploading the same file on netlify, and i didnt have a problem there.