Created
October 25, 2017 20:05
-
-
Save jayar95/228aa7d1230d260cd5fb1346dd94026e to your computer and use it in GitHub Desktop.
Auto Credit Homepage Redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window.location.pathname === '/') { | |
window.location.href = 'http://mitchforthepeople.com'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment