【发布时间】:2020-07-12 09:48:31
【问题描述】:
每当我尝试在我的 heroku 应用程序上发出 POST 请求时,我都会收到 503 错误。它在本地工作得很好。
at=error code=H12 desc="Request timeout" method=POST path="/login" host=classes-time.herokuapp.com status=503 bytes=0 protocol=https
这里是 github repo 中的完整代码:https://github.com/losbiw/Classes-time
我在 heroku 中设置了我的环境变量,所以我不知道有什么问题。我检查了我的代码中的所有 url 几次,所以几乎完全确定这不是项目无法运行的原因。
【问题讨论】:
标签: javascript node.js express heroku