-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Redirect fails with 1.8.0 on Cloudflare #4740
Comments
Thanks @assaf! We found the issue here and will get a patch out next week with a fix 👍 |
Wow, I spent the past two days beating myself up over this. Thank you for bringing me sanity. Downgrading to previous remix version again.. |
Haha, I also should have probably looked to see if this was a bug or if I was just crazy. Thank you for already being on this! 🎉 |
I upgraded to 1.8.1 on Cloudflare Pages and I still receive the Unexpected Server Error warning on redirects (in other words, the TypeError: Invalid URL string fun) |
Hey folks - this fix wasn't in |
👋 We just released the fix for this in a prerelease ( |
Thanks @brophdawg11, I looked at the documentation for upgrade instructions, but didn't see anything. Should we be updating |
@JulienMelissas I believe that running a mix of versions would cause issues. |
@JulienMelissas you should always update all your remix packages to the same version |
This is released in 1.8.2 👍 |
Just confirming upgrading to 1.8.2 fixed it for me, thanks much for the quick fix, sorry I wasn't able to check the fix sooner. |
Thanks for fixing this! |
What version of Remix are you using?
1.8.0
Steps to Reproduce
I'm getting
TypeError: Invalid URL string
errors from any loader or action has have a redirect. This will fail:Seeing this when deploying to Cloudflare pages with 1.8.0. No issues in development, or when using 1.7.6.
Expected Behavior
Works fine with 1.7.6.
Actual Behavior
Stack trace I'm getting:
The text was updated successfully, but these errors were encountered: