Revert "Merge pull request #2482 from AreYouRlyScared/fix-2386"
This reverts commita967dbc6fc
, reversing changes made to289de72aca
.
This commit is contained in:
parent
49ddd63dbd
commit
7a0ac1d5c2
3 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import ReactGA from 'react-ga';
|
||||
import { NavLink, Route, RouteComponentProps, Switch, Redirect } from 'react-router-dom';
|
||||
import { NavLink, Route, RouteComponentProps, Switch } from 'react-router-dom';
|
||||
import NavigationBar from '@/components/NavigationBar';
|
||||
import ServerConsole from '@/components/server/ServerConsole';
|
||||
import TransitionRouter from '@/TransitionRouter';
|
||||
|
@ -123,7 +123,6 @@ const ServerRouter = ({ match, location }: RouteComponentProps<{ id: string }>)
|
|||
<>
|
||||
<TransitionRouter>
|
||||
<Switch location={location}>
|
||||
<Redirect from="/:url*(/+)" to={location.pathname.slice(0, -1)} />
|
||||
<Route path={`${match.path}`} component={ServerConsole} exact/>
|
||||
<Route
|
||||
path={`${match.path}/files`}
|
||||
|
|
Reference in a new issue