ERROR: Invalid domain for site key reCaptcha

夙愿已清 提交于 2020-01-30 12:22:17

问题


I registered my domain and added the key but want to test the site on my local machine. I publish the project on my machine to wwwroot and at the moment it runs on port number 8080.

I get the error ERROR: Invalid domain for site key reCaptcha when trying to run it on my local machine.

Is there a way testing this on the local machine?


回答1:


Check your domains at https://www.google.com/recaptcha/admin, if you are using localhost you most set your domain to "localhost".



来源:https://stackoverflow.com/questions/32326020/error-invalid-domain-for-site-key-recaptcha

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!