diff --git a/util.ts b/util.ts index bca4c32..86d9dc3 100644 --- a/util.ts +++ b/util.ts @@ -81,7 +81,7 @@ export const setDefaults = < options: T, ): Omit & Required> => { const { - fetch = globalThis.fetch, + fetch = (input, init) => globalThis.fetch(input, init), baseURL = "https://scrapbox.io/", ...rest } = options;