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
On Thu, Apr 29, 2021 at 1:42 PM Alex Bea ***@***.***> wrote:
The problem to solve
There's no good way to take additional actions, such as tracking redirect
use, before a redirect executes
Proposed solution
We add a Promise event after a matching redirect is found and emit both
the original URL and its destination.
Alternatives
We could break up the middleware into methods more so they could be edited
with the super pattern.
Additional context
This came up from a question in Discord:
https://discord.com/channels/517772094482677790/517782236800745495/837372820182401024
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH27MPZ5PY4ACNNTPLZPLTLGK7XANCNFSM432LVDXQ>
.
The problem to solve
There's no good way to take additional actions, such as tracking redirect use, before a redirect executes
Proposed solution
We emit a Promise event after a matching redirect is found and include both the original URL and its destination.
Alternatives
We could break up the middleware into methods more so they could be edited with the super pattern.
Additional context
This came up from a question in Discord: https://discord.com/channels/517772094482677790/517782236800745495/837372820182401024
The text was updated successfully, but these errors were encountered: