shamsup / remix-starter-serverless

A template for deploying Remix to AWS with the Serverless framework
119 stars 13 forks source link

Fix the Host header limitation #5

Open bitofbreeze opened 1 year ago

bitofbreeze commented 1 year ago

It seems like serverless-lift has a solution to forward the Host header https://github.com/getlift/lift/blob/master/src/constructs/aws/ServerSideWebsite.ts#L448

Perhaps using that plugin directly in your template could help or drawing from their source.

shamsup commented 1 year ago

This is a good solution to the double-deploy problem. I'll consider it when I eventually update this template for later remix versions.