Open x94fujo6rpg opened 2 years ago
It used to escape redirect chains. Maybe there some way to do it better, but it is how it is now
It used to escape redirect chains. Maybe there some way to do it better, but it is how it is now
Yup that's correct, that's the reason why! I'll take a look into it another time and leave this open!
Checking if the hostname includes nlsn.cf. idk Buuuut. If its a custom domain the hostname is nlsn.cf not nelsontky.github.io. I Think. Bye
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