Closed tallowen closed 1 month ago
Note: I'm more than happy to help gather more information from prod. Unfortunately, this error is manifesting as a timeout error which makes it hard to get a reasonable stack trace. If there are any recommendations for where to throw in some debugs or where it's likely getting stuck, I would appreciate it!
This appears to be an issue with sst not remix since the express adapter works fine.
Reproduction
The following is the repository of all the steps below: https://github.com/tallowen/remix-redirect-issue
Steps to reproduce:
npx create-remix@latest
sst init
Issue: See redirects on prod build:
System Info
Used Package Manager
npm
Expected Behavior
I expect dev/prod redirects to work in the same way. I expect redirects to not lead to a timeout error.
Actual Behavior
A redirect from a loader is leading to a timeout error.