Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAM-1137 - refactor: fetch basename from base tag #432

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

huwshimi
Copy link
Contributor

Fetch the basename for the router from the <base> tag. React Router doesn't support the base tag by default so we have to manually get the path.

https://warthogs.atlassian.net/browse/IAM-1137
Fixes: #431.

@huwshimi huwshimi requested a review from a team as a code owner October 10, 2024 03:23
ui/index.html Show resolved Hide resolved
ui/src/util/basePaths.ts Show resolved Hide resolved
@shipperizer shipperizer merged commit cf7f468 into canonical:main Oct 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate if basePath workaround is still needed
5 participants