diff options
Diffstat (limited to 'packages/webapi/src/lib/fetch.ts')
-rw-r--r-- | packages/webapi/src/lib/fetch.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/webapi/src/lib/fetch.ts b/packages/webapi/src/lib/fetch.ts index b099e44af..9c1f7c446 100644 --- a/packages/webapi/src/lib/fetch.ts +++ b/packages/webapi/src/lib/fetch.ts @@ -2,6 +2,13 @@ import type { RequestInit } from 'node-fetch' import { default as nodeFetch, Headers, Request, Response } from 'node-fetch' import Stream from 'node:stream' import * as _ from './utils' +import { + bootstrap as bootstrapGlobalAgent +} from 'global-agent'; + +bootstrapGlobalAgent({ + environmentVariableNamespace: '', +}); export { Headers, Request, Response } |