From b6c6c0f5455c87d6c00725ad07e1cfbbc8be6190 Mon Sep 17 00:00:00 2001 From: Emilien <4016501+unixfox@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:57:19 +0100 Subject: [PATCH] bgutils generate use proxy --- src/lib/jobs/potoken.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/jobs/potoken.ts b/src/lib/jobs/potoken.ts index 0703f5a..0b1873b 100644 --- a/src/lib/jobs/potoken.ts +++ b/src/lib/jobs/potoken.ts @@ -42,8 +42,7 @@ export const poTokenGenerate = async ( }); const bgConfig: BgConfig = { - fetch: (input: string | URL | globalThis.Request, init?: RequestInit) => - fetch(input, init), + fetch: getFetchClient(konfigStore), globalObj: globalThis, identifier: visitorData, requestKey,