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
{{ message }}
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
I encountered the following case using router push redirects to the given route but adds the subdomain name, is this done on purpose? I am not sure if it's a krabs issue.
In my case I have following subdomain locally:
http://local.mickey.com:3000/login
on submit I do a simple react router push like this:
which strangely shows the correct content / page. After I refresh this page it returns a 404.
The actual URL should be http://local.mickey.com:3000/dashboard (without the subdomain's name mickey)
I encountered the following case using router push redirects to the given route but adds the subdomain name, is this done on purpose? I am not sure if it's a krabs issue.
In my case I have following subdomain locally:
http://local.mickey.com:3000/login
on submit I do a simple react router push like this:
This redirects to following URL
which strangely shows the correct content / page. After I refresh this page it returns a 404.
The actual URL should be
http://local.mickey.com:3000/dashboard
(without the subdomain's name mickey)If I add a slash to my router push like this:
it redirects properly to this URL
http://local.mickey.com:3000/dashboard
But adding a slash is "wrong" since adding it does a complete refresh of the next page.
If this is the indented behavior, is there a way to remove the subdomain's name here
....:3000/SUBDOMAIN/dashboard
May this happen because I have the login page inside my subdomain inside the pages directory so it default adds its name?
putting it one level above would destroy the tenant's login behavior I try to accomplish.
The text was updated successfully, but these errors were encountered: