From 4e643e6af8ce342ab59991ffb5913786143e257a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 12 Jun 2023 08:25:16 +0800 Subject: [PATCH] :art: Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518 --- app/src/config/repos.ts | 3 ++- kernel/model/conf.go | 3 +++ kernel/model/sync.go | 14 +++++++++----- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/src/config/repos.ts b/app/src/config/repos.ts index 39b5dd215..d6a9ae8ec 100644 --- a/app/src/config/repos.ts +++ b/app/src/config/repos.ts @@ -1,5 +1,6 @@ import {needSubscribe} from "../util/needSubscribe"; import {fetchPost} from "../util/fetch"; +import {isBrowser} from "../util/functions"; import {showMessage} from "../dialog/message"; import {bindSyncCloudListEvent, getSyncCloudList} from "../sync/syncGuide"; import {hasClosestByClassName} from "../protyle/util/hasClosest"; @@ -307,7 +308,7 @@ export const repos = { -