GitHub pagees works just for one site #22108
-
Hi. I have repository https://github.com/stasmotorny/stasmotorny.github.io I set a custom domain frontdev.pp.ua for this repository. Is it possible to fix this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is happening because you’ve got a service worker installed for the site hosted from your When you add a custom domain to a repository using the When the service worker is installed it will capture all traffic to sites hosted from the same domain There are 2 options for how to fix this:
|
Beta Was this translation helpful? Give feedback.
This is happening because you’ve got a service worker installed for the site hosted from your
stasmotorny/stasmotorny.github.io
repository.When you add a custom domain to a repository using the
*.github.io
naming scheme this custom domain applies to all sites hosted from your account.When the service worker is installed it will capture all traffic to sites hosted from the same domain
frontdev.pp.ua
and redirect it to the root index page of your site. As all Pages sites from your account are now hosted from this domain all visits to your other site are being redirected to the site hosted fromstasmotorny/stasmotorny.github.io
.There are 2 options for how to fix this:
Disable the servic…