Skip to content

Commit

Permalink
Remove redirect for /security-policy
Browse files Browse the repository at this point in the history
As this site will be embedded into the other, it won't be handling the routing for that path anymore.
  • Loading branch information
shakuzen committed Nov 27, 2023
1 parent a722ba0 commit 89adf31
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/App/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ export default function App() {
<Switch>
<Route exact path="/docs" component={DocRoot} />

<Route path="/security-policy" component={() => {
window.location.href='https://tanzu.vmware.com/security';
return null;
}
} />

<DocRoutes/>

<Route path="**" render={() => <Redirect to="/docs" />} />
Expand Down

0 comments on commit 89adf31

Please sign in to comment.