MIME type error in my deploy of astro app for apply styles

Hi, i tried to deploy my app created with astro, when i run in local the build and start all works fine, but when i deploy in gitlab pages i get the message in console:

Refused to apply style from ‘’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

I checked the paths, the structure, the documentation (since 1 year ago last updated) and all is “good” but the styles still not apply, I need an extra configuration on my environment?

Update: I resolve the problem running in the pipeline the command:
npx astro build --base "path"

1 Like