Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat(web): add fallback page for /w/[slug]/ route (#276)

Gener16f399684673
diff --git a/src/web/src/app/(app)/w/[slug]/page.tsx b/src/web/src/app/(app)/w/[slug]/page.tsx
new file mode 100644
index 000000000..e2002be17
--- /dev/null
+++ b/src/web/src/app/(app)/w/[slug]/page.tsx
@@ -0,0 +1,10 @@
+import { redirect } from "next/navigation"
+
+export default async function WorkspaceRootPage({
+ params,
+}: {
+ params: Promise<{ slug: string }>
+}) {
+ const { slug } = await params
+ redirect(`/w/${slug}/home`)
+}