簡體   English   中英

Node.js應用程序中的Heroku reCaptcha

[英]Heroku reCaptcha in node.js app

我正在嘗試將reCaptcha集成到我的node'js應用程序中。 當我在本地運行該應用程序時,一切都很好。 但是,當我將應用程序部署到heroku時,reCaptcha會打印錯誤並被禁止使用。 如果我在瀏覽器中打開控制台,則會看到Failed to load resource: the server responded with a status of 400 (Bad Request)https://google.com/... Failed to load resource: the server responded with a status of 400 (Bad Request) https://google.com/...

我猜heroku會阻止某些東西,但是谷歌搜索它並沒有幫助。

謝謝你的支持。

如果沒有更多信息,則很有可能在reCAPTCHA帳戶中未列出您的Heroku應用程序的域,或者您的站點密鑰未正確設置。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM