tim*_*tim 6 javascript recaptcha
我在本地测试服务器上使用reCapcha.一切正常,但我有错误:
Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
Run Code Online (Sandbox Code Playgroud)
和
Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access has a protocol of "about", the frame being accessed has a protocol of "http". Protocols must match.
Run Code Online (Sandbox Code Playgroud)
在HTML中:
...
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>
...
<div class="g-recaptcha" data-sitekey="..."></div>
Run Code Online (Sandbox Code Playgroud)
如何解决这些错误?
谢谢!
| 归档时间: |
|
| 查看次数: |
2723 次 |
| 最近记录: |