From 04daa035185cd01001414998f3d516d415a305fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 4 Oct 2023 00:47:10 +0300 Subject: [PATCH] docs/FAQ.md: Add js code fence syntax --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 05ad4421b..787cb1473 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -46,7 +46,7 @@ if ( semver.lt(process.version, '20.0.0') ) { This is caused by the internal undici fetch implementation's dispatcher [defaults](https://github.com/nodejs/undici/issues/1373) for the headers and body timeout when performing a request. In the future we will support modifying these properties in a more defined way, but for now, once can override this by setting the global symbol at the beginning of your script: -``` +```js import { Agent } from 'undici' globalThis[Symbol.for("undici.globalDispatcher.1")] = new Agent({