You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same issue....origRes.redirect works somewhat...except that
Express passes the request along to our next middleware (which handles unmatched routes) because it thinks exegesis-middleware did not handle it.
How do we prevent that? I tried calling res.end() or res.status(200) after the call to origRes.redirect. But it seems that calling origRes.redirect somehow causes the request to be passed along to our unmatched route middleware function (immediately below the exegesis middlewar) no matter what I do.
Thanks for your work on this project.
res.redirect isn't supported, but origRes.redirect is.
What's the preferred way to handle redirects?
Thanks.
The text was updated successfully, but these errors were encountered: