summaryrefslogtreecommitdiff
path: root/front/src/Router.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'front/src/Router.tsx')
-rw-r--r--front/src/Router.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/front/src/Router.tsx b/front/src/Router.tsx
index 1293709..ee3aa0d 100644
--- a/front/src/Router.tsx
+++ b/front/src/Router.tsx
@@ -3,6 +3,7 @@ import Sidebar from "@/components/layout/Sidebar";
// new
import Feed from "@/pages/Feed";
import Settings from "@/pages/Settings";
+import Thread from "@/pages/Thread";
import { Switch, Router, Redirect, Route } from "wouter";
export default function r() {
@@ -14,6 +15,7 @@ export default function r() {
<Route path="/" component={toGlobal} />
<Route path="/sets" component={Settings} />
<Route path="/feed/:taip" component={Feed} />
+ <Route path="/feed/:host/:id" component={Thread} />
</main>
</Router>
<Route component={P404} />