+7
-1
src/routes/mod.ts
+7
-1
src/routes/mod.ts
···
10
10
handler: (req) => Response.redirect(new URL("/login", req.url), 302),
11
11
},
12
12
13
+
{
14
+
method: "GET",
15
+
pattern: new URLPattern({ pathname: "/admin" }),
16
+
handler: () => Response.redirect("https://slices.network/profile/pomdtr.me/slice/3m25liqjjnh2o", 302),
17
+
},
18
+
13
19
// Auth routes
14
20
...authRoutes,
15
21
16
22
// Dashboard routes
17
23
...dashboardRoutes,
18
-
];
24
+
];