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
Given this route for selectall { path: '/smarthome', redirect: '/smarthome/'}, you would expect to be redirected from nymag.com/selectall/smarthome to nymag.com/selectall/smarthome/ but instead it goes to nymag.com/smarthome/. This is because there is no way to get the current site you are in and add it to the redirect, forcing you to write the route like this { path: '/smarthome', redirect: '/selectall/smarthome/'}.
The text was updated successfully, but these errors were encountered:
Given this route for selectall
{ path: '/smarthome', redirect: '/smarthome/'}
, you would expect to be redirected fromnymag.com/selectall/smarthome
tonymag.com/selectall/smarthome/
but instead it goes tonymag.com/smarthome/
. This is because there is no way to get the current site you are in and add it to the redirect, forcing you to write the route like this{ path: '/smarthome', redirect: '/selectall/smarthome/'}
.The text was updated successfully, but these errors were encountered: