Skip to content

Commit 73cd7d2

Browse files
author
Vladimir Grigoryan
committed
load captch from www.recaptcha.net
1 parent 51757e0 commit 73cd7d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/loadReCaptcha.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ const loadReCaptcha = (siteKey, callback = () => {}) => {
55
if (!window.onLoadCaptchaV3Callback && callback) {
66
window.onLoadCaptchaV3Callback = callback
77
}
8-
9-
script.src = `https://www.google.com/recaptcha/api.js?onload=onLoadCaptchaV3Callback&render=${siteKey}`
8+
script.src = `https://www.recaptcha.net/recaptcha/api.js?onload=onLoadCaptchaV3Callback&render=${siteKey}`
109

1110
document.body.appendChild(script)
1211
}

0 commit comments

Comments
 (0)