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(server): server startup on windows (#6071)
Peng Xiao83e1217f6139
diff --git a/packages/backend/server/src/prelude.ts b/packages/backend/server/src/prelude.tsindex 7f818774c7..39312a36e3 100644--- a/packages/backend/server/src/prelude.ts+++ b/packages/backend/server/src/prelude.ts@@ -2,7 +2,7 @@ import 'reflect-metadata';import { cpSync } from 'node:fs';import { join } from 'node:path';-import { fileURLToPath } from 'node:url';+import { fileURLToPath, pathToFileURL } from 'node:url';import { config } from 'dotenv';import { omit } from 'lodash-es';@@ -21,7 +21,7 @@ async function loadRemote(remoteDir: string, file: string) {});}- await import(filePath);+ await import(pathToFileURL(filePath).href);}async function load() {