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.

fix: disable sqlite blob storage (#2943)

Peng Xiao9e90242ddb2c
diff --git a/packages/workspace/src/utils.ts b/packages/workspace/src/utils.ts
index c9cafd55df..4798076bf4 100644
--- a/packages/workspace/src/utils.ts
+++ b/packages/workspace/src/utils.ts
@@ -100,7 +100,7 @@ export function createEmptyBlockSuiteWorkspace(
} else {
if (isBrowser) {
blobStorages.push(createIndexeddbStorage);
- if (isDesktop) {
+ if (isDesktop && runtimeConfig.enableSQLiteProvider) {
blobStorages.push(createSQLiteStorage);
}
}