Created
August 19, 2019 17:55
-
-
Save macmladen/e47415a95f93c6d78b7ddd959d60bb41 to your computer and use it in GitHub Desktop.
JavaScriptp HTTP like redirect
This file contains hidden or 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
// similar behavior as an HTTP redirect | |
// window. object can be omitted | |
window.location.replace("https://nisville.com/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment