Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: add no match route (#3659)

Garfield Lee358c3a5bb2b6
diff --git a/apps/core/src/router.ts b/apps/core/src/router.ts
index 444e5fe7dc..0d438ede0d 100644
--- a/apps/core/src/router.ts
+++ b/apps/core/src/router.ts
@@ -28,6 +28,10 @@ export const router = createBrowserRouter(
path: '/404',
lazy: () => import('./pages/404'),
},
+ {
+ path: '*',
+ lazy: () => import('./pages/404'),
+ },
],
{
future: {