diff --git a/src/App.tsx b/src/App.tsx index 21ded6a..347433a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -119,14 +119,6 @@ const RedirectBoardSlug = () => { return ; }; -/** - * Component to redirect direct slug URLs to board URLs - * Handles canvas.jeffemmett.com/ccc → /board/ccc/ - */ -const RedirectDirectSlug = () => { - const { slug } = useParams<{ slug: string }>(); - return ; -}; /** * Main App with context providers @@ -223,11 +215,19 @@ const AppWithProviders = () => { } /> } /> - {/* Catch-all: Direct slug URLs redirect to board URLs */} - {/* e.g., canvas.jeffemmett.com/ccc → /board/ccc/ */} + {/* Catch-all: Direct slug URLs serve board directly */} + {/* e.g., canvas.jeffemmett.com/ccc → shows board "ccc" */} {/* Must be LAST to not interfere with other routes */} - } /> - } /> + + + + } /> + + + + } />