我已经创建了简单的节点应用程序与路由。
启动文件到app.js,然后像这样浏览域:https://api.lemontrade.in/并参见
只有app.js文件是工作,但当我想得到客户与url https://api.lemontrade.in/customers我得到404错误.
HTTP错误404.0 -未找到您要查找的资源已被删除、已更改名称或暂时不可用。
我已经创建了简单的节点应用程序与路由。
启动文件到app.js,然后像这样浏览域:https://api.lemontrade.in/并参见
只有app.js文件是工作,但当我想得到客户与url https://api.lemontrade.in/customers我得到404错误.
HTTP错误404.0 -未找到您要查找的资源已被删除、已更改名称或暂时不可用。
1条答案
按热度按时间qoefvg9y1#
如果您使用的是IIS / Windows主机,您应该将此添加到您的web.config文件中。