1
0
Fork 0

fix linter

pull/1553/head
Tatyana Kostromskaya 2023-10-10 10:45:06 +00:00
parent 8e0ade0a6a
commit 3d097f5e2f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export function getProxyAgentDispatcher(
export function getProxyFetch(destinationUrl): typeof fetch { export function getProxyFetch(destinationUrl): typeof fetch {
const httpDispatcher = getProxyAgentDispatcher(destinationUrl) const httpDispatcher = getProxyAgentDispatcher(destinationUrl)
const proxyFetch = (url, opts) => { const proxyFetch: typeof fetch = async (url, opts) => {
return fetch(url, { return fetch(url, {
...opts, ...opts,
dispatcher: httpDispatcher dispatcher: httpDispatcher