This post is valid as of March 2020
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.
Earlier my code used to be
Disallowed MIME type ("text/html") error - Angular Github pages
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share…
My other article about GitHub pages
Do let me know if my article needs correction / improvement. TIA.