diff --git a/src/abort-controller.ts b/src/abort-controller.ts index ed11d79a..a0882fc3 100644 --- a/src/abort-controller.ts +++ b/src/abort-controller.ts @@ -4,7 +4,7 @@ const browserGlobal = typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : null; // self is the global in web workers if (!browserGlobal) { AbortController = require('abort-controller'); -} else if ('signal' in new Request('')) { +} else if ('signal' in new Request('https://airtable.com')) { AbortController = browserGlobal.AbortController; } else { /* eslint-disable @typescript-eslint/no-var-requires */