From 928ba0ce419bacba113951095278a5138ead34cf Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sun, 10 Apr 2022 16:04:03 +0800
Subject: ...

---
 FrontEnd/src/App.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'FrontEnd/src/App.tsx')

diff --git a/FrontEnd/src/App.tsx b/FrontEnd/src/App.tsx
index 69223abb..5e61848a 100644
--- a/FrontEnd/src/App.tsx
+++ b/FrontEnd/src/App.tsx
@@ -8,7 +8,6 @@ import Home from "./views/home";
 import Login from "./views/login";
 import Settings from "./views/settings";
 import About from "./views/about";
-import User from "./views/user";
 import TimelinePage from "./views/timeline";
 import Search from "./views/search";
 import Admin from "./views/admin";
@@ -35,8 +34,8 @@ function App(): ReactElement | null {
           <Route path="/login" element={<Login />} />
           <Route path="/settings" element={<Settings />} />
           <Route path="/about" element={<About />} />
-          <Route path="/timelines/:name" element={<TimelinePage />} />
-          <Route path="/users/:username" element={<User />} />
+          <Route path="/:owner" element={<TimelinePage />} />
+          <Route path="/:owner/:timeline" element={<TimelinePage />} />
           <Route path="/search" element={<Search />} />
           <Route path="/admin" element={<Admin />} />
           <Route element={<NoMatch />} />
-- 
cgit v1.2.3

