Fix — Disallowed MIME type error — Angular GitHub pages

Prakash M.
Feb 29, 2020

This post is valid as of March 2020

Solution

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

<base href="./">

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

References

My other article about GitHub pages

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

--

--