You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if anyone want to use this in your own repo (github page).
unless you are using other domain.
otherwise your hostname will always be [your_github_name].github.io
not sure what is this check for
url.hostname===location.hostname;
in my case (github page)
this check will always be true => isInvalidUrl => redirect failed
fix:
url.hostname!==location.hostname;
*just thought about this, do this so people can't use it on sites besides your repo
The text was updated successfully, but these errors were encountered:
if anyone want to use this in your own repo (github page).
unless you are using other domain.
otherwise your hostname will always be
[your_github_name].github.io
not sure what is this check for
in my case (github page)
this check will always be true => isInvalidUrl => redirect failed
fix:
*just thought about this, do this so people can't use it on sites besides your repo
The text was updated successfully, but these errors were encountered: