我正在使用 Claudia 将我的 node.js 应用程序转换为 AWS lambda 函数。集成工作正常,我可以在以下地址访问我的无服务器网站的索引:
https://*******.execute-api.eu-west-2.amazonaws.com/latest
现在我可以登录了页面和指向该页面的链接。我的问题是当我单击此链接时,URL 是:
https://*********.execute-api.eu-west-2.amazonaws.com/login
只返回一条禁止消息因为真实页面位于:
https://******.execute-api.eu-west-2.amazonaws.com/latest/login
如何摆脱 /latest 或如何处理它?
谢谢你的帮助!