From ce2d9424f55210c1fe000ef48490317816f27532 Mon Sep 17 00:00:00 2001 From: dessant Date: Mon, 28 Sep 2020 16:11:02 +0300 Subject: [PATCH] fix: inject assets in challenge frames loaded from alternative URLs --- src/utils/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/data.js b/src/utils/data.js index a517e11..8a77c47 100755 --- a/src/utils/data.js +++ b/src/utils/data.js @@ -19,7 +19,7 @@ const clientAppPlatforms = [ 'macos/amd64' ]; -const recaptchaChallengeUrlRx = /^https:\/\/www\.google\.com\/recaptcha\/api2\/bframe.*/; +const recaptchaChallengeUrlRx = /^https:\/\/www\.(?:google\.com|recaptcha\.net)\/recaptcha\/(?:api2|enterprise)\/bframe.*/; // https://developers.google.com/recaptcha/docs/language // https://cloud.google.com/speech-to-text/docs/languages