Skip to content

Commit

Permalink
Fix URL duplication issue (#2004)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit cac7e08)
  • Loading branch information
derek-ho authored and github-actions[bot] committed Jun 17, 2024
1 parent 6df85b1 commit b7f14cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/apps/configuration/app-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function AppRouter(props: AppDependencies) {

return (
<DataSourceContext.Provider value={{ dataSource, setDataSource }}>
<Router basename={props.params.appBasePath}>
<Router>
<EuiPage>
{allNavPanelUrls(multitenancyEnabled).map((route) => (
// Create different routes to update the 'selected' nav item .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ exports[`SecurityPluginTopNavMenu renders DataSourceMenu when dataSource is enab
}
}
>
<HashRouter
basename=""
>
<HashRouter>
<EuiPage>
<Route
exact={true}
Expand Down

0 comments on commit b7f14cb

Please sign in to comment.