Skip to content

Commit

Permalink
Use recaptcha.net
Browse files Browse the repository at this point in the history
A lot of countries have google.com blocked, by using recaptcha.net (also from google) we workaround that issue
  • Loading branch information
roy authored Nov 13, 2019
1 parent f810a1f commit 16a680f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Recaptcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Recaptcha extends React.Component {
const head = document.head || document.getElementsByTagName('head')[0];
const script = document.createElement('script');
script.id = ID;
script.src = `https://www.google.com/recaptcha/api.js?hl=${locale}`;
script.src = `https://www.recaptcha.net/recaptcha/api.js?hl=${locale}`;
script.type = 'text/javascript';
script.async = true;
script.defer = true;
Expand Down

0 comments on commit 16a680f

Please sign in to comment.