fix(web): fetch hello-world from local (#3062)

This commit is contained in:
Alex Yang
2023-07-06 17:46:17 +08:00
committed by GitHub
parent bda28e0404
commit e30c67482f
11 changed files with 36 additions and 8 deletions
+2
View File
@@ -15,6 +15,7 @@ import { createIndexeddbStorage, Workspace } from '@blocksuite/store';
import { rootStore } from '@toeverything/plugin-infra/manager';
import { rootWorkspacesMetadataAtom } from './atom';
import { createStaticStorage } from './blob/local-static-storage';
import { createSQLiteStorage } from './blob/sqlite-blob-storage';
export function cleanupWorkspace(flavour: WorkspaceFlavour) {
@@ -98,6 +99,7 @@ export function createEmptyBlockSuiteWorkspace(
}
providerCreators.push(...createLocalProviders());
}
blobStorages.push(createStaticStorage);
const workspace = new Workspace({
id,