Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels