“Loading module was blocked becasue of a disallowed MIME type (“text/html”)” on GitHub Pages with Custom Domain
I am new to creating webapps using React + Vite and TypeScript. Recently I have finished my first app and was hoping to deploy it on GitHub pages using a custom domain name. I deployed it using npm run deploy
and initially it was working fine after publishing it on https://myusername.github.io/myrepo/
, built from the gh-pages
branch.