feat: self-hosted provider

This commit is contained in:
DarkSky
2023-01-06 17:28:35 +08:00
parent f01c6e12d2
commit 9b278d29d5
3 changed files with 17 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const DynamicBlocksuite = ({
const openWorkspace: LoadWorkspaceHandler = async (workspaceId: string) => {
if (workspaceId) {
const dc = await getDataCenter();
return dc.load(workspaceId, { providerId: 'affine' });
return dc.load(workspaceId, { providerId: 'selfhosted' });
} else {
return null;
}