fix: set challenge locale when widget is loaded from recaptcha.net

pull/219/head
dessant 4 years ago
parent a156c1f058
commit edb74021ef

@ -136,7 +136,9 @@ async function setChallengeLocale() {
{
urls: [
'https://www.google.com/recaptcha/api2/anchor*',
'https://www.google.com/recaptcha/api2/bframe*'
'https://www.google.com/recaptcha/api2/bframe*',
'https://www.recaptcha.net/recaptcha/api2/anchor*',
'https://www.recaptcha.net/recaptcha/api2/bframe*'
],
types: ['sub_frame']
},

Loading…
Cancel
Save