Fix — Disallowed MIME type error — Angular GitHub pages

This post is valid as of March 2020


When using GitHub Pages from a different repository (than the parent repository), then by changing the base href to the current directory solves the issue.

Earlier my code used to be <base href="/">


My other article about GitHub pages

Do let me know if my article needs correction / improvement. TIA.

learner. seeker.

Love podcasts or audiobooks? Learn on the go with our new app.