Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a904927

Browse files
authored
docs: update example in getting started (#752)
1 parent 582fc7e commit a904927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/content/get-started/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ const mf = new Miniflare({
3939
export default {
4040
async fetch(request, env, ctx) {
4141
return new Response("Hello Miniflare!");
42-
})
42+
}
4343
}
4444
`,
4545
});
4646

4747
const res = await mf.dispatchFetch("http://localhost:8787/");
4848
console.log(await res.text()); // Hello Miniflare!
49+
await mf.dispose();
4950
```
5051

5152
The [rest of these docs](/core/fetch) go into more detail on configuring

0 commit comments

Comments
 (0)