Search code examples
githubbuildgithub-pagesangular12

GET https://username.github.io/runtime net::ERR_ABORTED 404 build in github


The dist folder works normal on publishing server, but got error while i am publishing in github using gitpage, i had attached the link to my repo for code information.

Image


Solution

  • The error is solved using below steps... 1.) change <base href="https://username.github.io/reponame/"> to <base href="/https://username.github.io/reponame/"> by putting / at the starting it works.