-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverless-AWS Deploy: outstanding issues #826
Comments
Thank you @gilliardmacedo This is very helpful:
|
We've deprecated support for aws-serverless deployment. I'm going to close this issue now. |
1. Site entry via non-home Routes do not fetch+render
Go directly to this page:
There is no content. In browser network tab, there is no fetch.
If you first navigate to the home page and click the link, everything works:
My guess is this is a Cloudfront issue where cache-hit=true is messing with the Redwood Router.
We've been using Serverless Lift Static-Site plugin — I have no idea how long this behavior has been broken. I tried using the Serverless Lift plugin for SPA in #825 which didn't seem to help or change behavior at all:
https://github.com/getlift/lift/blob/master/docs/single-page-app.md
Video shows working example first. Then broken behavior:
https://user-images.githubusercontent.com/2951/236730309-9fbc357f-d2cf-4212-ae9f-1c90af3ce972.mp4
2. .env.production doesn't work after using the first time for --first-run
Although the documentation requires creating and using
.env.production
, this file is never accessed when deploying viayarn rw deploy serverless
. See:Additionally, it doesn't seem to work on subsequent uses of --first-run. See:
I suggest the easiest fix is to remove use of .env.production in --first-run and update Docs accordingly
3. Update Serverless Deploy Docs: Custom Functions
Provide instructions about adding custom functions to serverless.yml
The text was updated successfully, but these errors were encountered: