Closed Adnan0061 closed 9 months ago
@Adnan0061 is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.
Oh good point, I ran into this bug myself on https://github.com/steven-tey/dub
Thank you so much 🙏
the issue here is that, from middleware this project rewrites the URL but in page params are string type. This creates a problem the domain becomes an encoded string.
so if the url has something like that it will break the site. more over why it's important if some put a value of
NEXT_PUBLIC_ROOT_DOMAIN
with similar content it will break. So this will be a better solution.