bgutils generate use proxy

This commit is contained in:
Emilien 2024-12-14 22:57:19 +01:00
parent 4ca76879c1
commit b6c6c0f545

View file

@ -42,8 +42,7 @@ export const poTokenGenerate = async (
}); });
const bgConfig: BgConfig = { const bgConfig: BgConfig = {
fetch: (input: string | URL | globalThis.Request, init?: RequestInit) => fetch: getFetchClient(konfigStore),
fetch(input, init),
globalObj: globalThis, globalObj: globalThis,
identifier: visitorData, identifier: visitorData,
requestKey, requestKey,