Skip to content

Commit

Permalink
Merge pull request #85 from kjo-sdds/patch-1
Browse files Browse the repository at this point in the history
Fix missing `await` in the demo page
  • Loading branch information
Touffy authored Jul 18, 2024
2 parents 3937d6b + 76e1a52 commit ffbffb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// an ArrayBuffer
const hi = new TextEncoder().encode("hello world!")
// an HTTP Response
const code = fetch("https://raw.githubusercontent.com/Touffy/client-zip/master/src/index.ts")
const code = await fetch("https://raw.githubusercontent.com/Touffy/client-zip/master/src/index.ts")
// just a string
const bye = "goodbye."

Expand All @@ -41,4 +41,4 @@
</script>

</body>
</html>
</html>

0 comments on commit ffbffb7

Please sign in to comment.