Skip to content

Commit 94725fc

Browse files
aduh95RafaelGSS
authored andcommitted
doc: fix fetch subsections in globals.md
PR-URL: #58933 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent a7a4870 commit 94725fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/globals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ The implementation is based upon [undici](https://undici.nodejs.org), an HTTP/1.
579579
written from scratch for Node.js. You can figure out which version of `undici` is bundled
580580
in your Node.js process reading the `process.versions.undici` property.
581581

582-
## Custom dispatcher
582+
### Custom dispatcher
583583

584584
You can use a custom dispatcher to dispatch requests passing it in fetch's options object.
585585
The dispatcher must be compatible with `undici`'s
@@ -598,7 +598,7 @@ import { setGlobalDispatcher } from 'undici';
598598
setGlobalDispatcher(new MyAgent());
599599
```
600600

601-
## Related classes
601+
### Related classes
602602

603603
The following globals are available to use with `fetch`:
604604

0 commit comments

Comments
 (0)