Skip to content

Commit

Permalink
doc: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Jul 12, 2024
1 parent 17ab535 commit 008c91b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@

const fetchAdapter = async (url,param)=> {
const res = await fetch(url,{...param,mode:"no-cors"})
console.log(await res.text())
return {
status: res.status,
ok: res.ok,
Expand Down
4 changes: 4 additions & 0 deletions example/browser/example-request.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<html>
<title>@sebastianwessel/quickjs</title>
<body>Hello World</body>
</html>

0 comments on commit 008c91b

Please sign in to comment.