【发布时间】:2020-05-24 14:23:58
【问题描述】:
我从https://github.com/beyonk-adventures/now-sapper-demo 获取源代码,并使用now 将其部署到Zeit Now v2 上。
见https://test-v2-qa.tomsoderlund.now.sh/blog
你看到/blog返回500错误:
request to http://127.0.0.1:0/blog.json failed, reason: connect ECONNREFUSED 127.0.0.1
但是https://test-v2-qa.tomsoderlund.now.sh/blog.json 返回有效的 JSON,那么与请求 URL 的方式有关吗?
【问题讨论】: