Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Oct 23, 2023
1 parent 2f484cf commit e480ccf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/fix-express-proxy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@remix-run/express": patch
---

Allow the `@remix-run/express` adapter to work behind a proxy when using `app.enable('trust proxy')`
- Previously, this used `req.get('host')` to construct the Remix `Request`, but that does not respect `X-Forwarded-Host`
- This now uses `req.hostname` which will respect `X-Forwarded-Host`

0 comments on commit e480ccf

Please sign in to comment.