From c0164f102f40dd6d3a21d3deac505e2dea1b8bcb Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 9 Oct 2022 10:39:22 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BA=91=E7=AB=AF=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=86=B2=E7=AA=81=E6=97=B6=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E4=BA=A7=E7=94=9F=E5=86=B2=E7=AA=81=E6=96=87?= =?UTF-8?q?=E6=A1=A3=20https://github.com/siyuan-note/siyuan/issues/6110?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/api/router.go b/kernel/api/router.go index 08032d446..fd44e3d65 100644 --- a/kernel/api/router.go +++ b/kernel/api/router.go @@ -170,6 +170,7 @@ func ServeAPI(ginServer *gin.Engine) { ginServer.Handle("POST", "/api/cloud/getCloudSpace", model.CheckAuth, getCloudSpace) ginServer.Handle("POST", "/api/sync/setSyncEnable", model.CheckAuth, setSyncEnable) + ginServer.Handle("POST", "/api/sync/setSyncGenerateConflictDoc", model.CheckAuth, setSyncGenerateConflictDoc) ginServer.Handle("POST", "/api/sync/setSyncMode", model.CheckAuth, setSyncMode) ginServer.Handle("POST", "/api/sync/setCloudSyncDir", model.CheckAuth, setCloudSyncDir) ginServer.Handle("POST", "/api/sync/createCloudSyncDir", model.CheckAuth, model.CheckReadonly, createCloudSyncDir)