Replace google.com/recaptcha to recaptcha.net domain to possibly solve China troubles

This commit is contained in:
ErickSkrauch 2018-03-16 19:05:39 +03:00
parent 8d559cb616
commit 1ba8aaf093

View File

@ -63,7 +63,7 @@ export default {
options.get().then((resp) => this.setApiKey(resp.reCaptchaPublicKey)) options.get().then((resp) => this.setApiKey(resp.reCaptchaPublicKey))
]); ]);
loadScript(`https://www.google.com/recaptcha/api.js?onload=onReCaptchaReady&render=explicit&hl=${lang}`); loadScript(`https://recaptcha.net/recaptcha/api.js?onload=onReCaptchaReady&render=explicit&hl=${lang}`);
} }
return readyPromise; return readyPromise;