This PR attempts to solve https://github.com/getlift/lift/issues/364. The issue is that the stage needs to be appended to the URL in REST scenario in order to view the deployed app. By using originPath of the CloudFront distribution we can hide it from the user so he can simply access the CloudFront URL/custom domain.
This is my first time working on a serverless plugin so I hope I used the correct approach. Please me know if I should change anything.
This PR attempts to solve https://github.com/getlift/lift/issues/364. The issue is that the stage needs to be appended to the URL in REST scenario in order to view the deployed app. By using
originPath
of the CloudFront distribution we can hide it from the user so he can simply access the CloudFront URL/custom domain.This is my first time working on a serverless plugin so I hope I used the correct approach. Please me know if I should change anything.