We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c90cd0 commit 16b985cCopy full SHA for 16b985c
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "browsertrix-behaviors",
3
- "version": "0.6.6",
+ "version": "0.6.7",
4
"main": "index.js",
5
"author": "Webrecorder Software",
6
"license": "AGPL-3.0-or-later",
src/autofetcher.ts
@@ -169,8 +169,9 @@ export class AutoFetcher extends BackgroundBehavior {
169
170
let success = false;
171
172
- // todo: option to use cors or non-cors fetch
173
- // success = await this.doFetchNonCors();
+ if ((self as any).__bx_fetch) {
+ success = await (self as any).__bx_fetch(url);
174
+ }
175
176
if (!success) {
177
await this.doFetchNonCors(url);
0 commit comments