Created
January 11, 2019 00:57
-
-
Save bddap/6da34e5f569075cc4f7f7c07cc51ffcb to your computer and use it in GitHub Desktop.
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
<script> | |
fetch("http://localhost:8000", { | |
mode: "no-cors", | |
}).then(() => { | |
console.log("done"); | |
let t = document.createElement('div'); | |
t.innerHTML = "done"; | |
document.body.appendChild(t); | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment