sijad / flarum-ext-recaptcha

deprecated
https://github.com/FriendsOfFlarum/recaptcha
MIT License
5 stars 5 forks source link

How to change reCAPTCHA URL #4

Open sulf1ron opened 6 years ago

sulf1ron commented 6 years ago

Since google.com is blocked in China, I need to replace google.com with recaptcha.net. So where can I change it? Thanks.

sijad commented 6 years ago

this package uses https://github.com/google/recaptcha/ for handling reCAPTCHA. I'm not sure if its URL's are configurable.

skywalker512 commented 6 years ago

@sulf1ron You can just replace https://www.google.com/recaptcha/api.js to https://www.recaptcha.net/recaptcha/api.js in /js/forum/dist/extension.js#L53