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
The router should do a fetch request without following the redirect and if the response does have a redirect in it it should follow that manually by calling router.goTo(newUrl).
Examples when this is happening:
history url, the frontend should here go to the target
expired session the frontend should go to the login
The text was updated successfully, but these errors were encountered:
Currently when we are requesting any url which will be redirected the
router.js
will not redirect the frontend:This is the case because fetch is by default following here the redirect and so will return the target data:
SuluHeadlessBundle/Resources/js-website/src/services/router.js
Line 47 in fc701ca
The router should do a fetch request without following the redirect and if the response does have a redirect in it it should follow that manually by calling router.goTo(newUrl).
Examples when this is happening:
The text was updated successfully, but these errors were encountered: