无服务器脱机未获取路由。我正在使用"serverless-offline":"^3.25.4","serverless":"^1.0.0“版本
"statusCode": 404,
"error": "Serverless-offline: route not found.",
"currentRoute": "post - /dev/v1/authn",
"existingRoutes": [
"post - /v1/authn"
]
}发布于 2021-07-14 23:28:47
错误消息表明您请求了POST /dev/v1/authn,但是您的应用程序中仅有的路由是POST /v1/authn。
从你的请求中删除/dev/,它应该可以工作。
https://stackoverflow.com/questions/68373955
复制相似问题