diff --git a/src/config/recaptcha.php b/src/config/recaptcha.php index 5caa2c4..de7b2e0 100644 --- a/src/config/recaptcha.php +++ b/src/config/recaptcha.php @@ -63,4 +63,16 @@ 'version' => 2, + /* + |-------------------------------------------------------------------------- + | Recaptcha domain + |-------------------------------------------------------------------------- + | + | This can be set either to www.google.com or www.recaptcha.net for use in + | locations where www.google.com is not available + | https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally + | + */ + 'recaptcha_domain' => 'www.google.com' + ]; diff --git a/src/views/captcha.blade.php b/src/views/captcha.blade.php index 832ead6..541c3a3 100644 --- a/src/views/captcha.blade.php +++ b/src/views/captcha.blade.php @@ -4,9 +4,9 @@ @endif + src="//{{ config('recaptcha.recaptcha_domain', 'www.google.com') }}/recaptcha/api/challenge?k=">