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
This would be breaking for Polka, but is probably okay considering we're still pre-1.0.
The "reason" for doing do is consistency / parity with Express --- a couple popular middleware use req.path for internal logic. If Polka is gunning for Express compatibility, it should probably do the same.
I'd also removereq.pathname since there's no point in having both keys.
The text was updated successfully, but these errors were encountered:
This would be breaking for Polka, but is probably okay considering we're still pre-1.0.
The "reason" for doing do is consistency / parity with Express --- a couple popular middleware use
req.path
for internal logic. If Polka is gunning for Express compatibility, it should probably do the same.I'd also remove
req.pathname
since there's no point in having both keys.The text was updated successfully, but these errors were encountered: