fix(core): change server url of stable to insider (#4902) (#4926)

This commit is contained in:
Peng Xiao authored and 李华桥 committed 2023-11-14 14:40:06 +08:00
1 parent 5b0b8cf216
commit f9971ba922
1 file changed
+2
@@ -6,6 +6,7 @@ import {
currentWorkspaceIdAtom,
getCurrentStore,
} from '@toeverything/infra/atom';
import { guidCompatibilityFix } from '@toeverything/infra/blocksuite';
import type { ReactElement } from 'react';
import {
type LoaderFunction,
@@ -43,6 +44,7 @@ export const loader: LoaderFunction = async args => {
const workspace = await rootStore.get(workspaceAtom);
return (() => {
guidCompatibilityFix(workspace.doc);
const blockVersions = workspace.meta.blockVersions;
if (!blockVersions) {
return true;