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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: white screen after build
linonetwo9bd6bcaf65b2
diff --git a/packages/app/src/pages/_app.tsx b/packages/app/src/pages/_app.tsxindex 5f1c9499d3..862d9b0f97 100644--- a/packages/app/src/pages/_app.tsx+++ b/packages/app/src/pages/_app.tsx@@ -71,7 +71,7 @@ const AppDefender = ({ children }: PropsWithChildren) => {const { synced } = useAppState();useEffect(() => {- if (router.asPath === '/') {+ if (['/index.html', '/'].includes(router.asPath)) {router.replace('/workspace');}}, [router]);