claudia and API-Gateway: forbidden (/latest)

261 views Asked by At

I'm using Claudia to transform my node.js app into an AWS lambda function. The integration works fine and I can access the index of my serverless website at this address:
https://*******.execute-api.eu-west-2.amazonaws.com/latest
Now I have a login page and a link to go to the page. My problem is when I click on this link, the URL is:
https://*********.execute-api.eu-west-2.amazonaws.com/login
which only returns me a forbidden message because the real page is located at:
https://******.execute-api.eu-west-2.amazonaws.com/latest/login
How can I get rid of the /latest OR how can I handle it?

Thanks for your help!

0

There are 0 answers