Skip to content

Commit

Permalink
Fix URL duplication issue (opensearch-project#2004)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho authored Jun 17, 2024
1 parent 208089e commit cac7e08
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 @@ -165,7 +165,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 cac7e08

Please sign in to comment.