Skip to content

Commit

Permalink
No longer require fetch definition
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanWelch committed Dec 25, 2022
1 parent 95f09bb commit d0c1543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/defaults.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const DEFAULT_OPTIONS = {
to: 'en',
autoCorrect: false,
tld: 'com',
requestFunction: fetch,
requestFunction(url, fetchinit) { return fetch(url, fetchinit); },
requestOptions: {
credentials: 'omit',
headers: {}
Expand Down

0 comments on commit d0c1543

Please sign in to comment.