Skip to content

Commit 92bcebe

Browse files
committed
Update index.html
Update index.html
1 parent 510e680 commit 92bcebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<head>
44
<script type="module">
55
import getChallenge from './getChallenge.js'
6-
window.onload = () => {
6+
window.onload = async () => {
77
let b64encode = b => btoa(String.fromCharCode(...new Uint8Array(b)))
8-
let challenge = getChallenge()
8+
let challenge = await getChallenge()
99
console.log(challenge)
1010
}
1111
</script>

0 commit comments

Comments
 (0)