diff --git a/examples/browser/web/src/main.ts b/examples/browser/web/src/main.ts index a360e067..f77bef65 100644 --- a/examples/browser/web/src/main.ts +++ b/examples/browser/web/src/main.ts @@ -54,7 +54,7 @@ async function getPo(identifier: string): Promise { const requestKey = 'O43z0dpjhgX20SCx4KAo'; const bgConfig = { - fetch: fetchFn, + fetch: (input: RequestInfo | URL, init?: RequestInit) => fetch(input, init), globalObj: window, requestKey, identifier