Fix — Disallowed MIME type error — Angular GitHub pages

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 to the current directory solves the issue.

<base href="./">

Earlier my code used to be

References

My other article about GitHub pages

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