From 041c050d9843b28634a5d437d5d2cef05c91b63f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 29 Nov 2024 11:10:00 +0800 Subject: [PATCH] :art: Add a kernel API `/api/system/getWorkspaceInfo` https://github.com/siyuan-note/siyuan/issues/13300 --- kernel/api/system.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/api/system.go b/kernel/api/system.go index c4eb5cd46..b55c128c8 100644 --- a/kernel/api/system.go +++ b/kernel/api/system.go @@ -41,6 +41,7 @@ func getWorkspaceInfo(c *gin.Context) { ret.Data = map[string]any{ "workspaceDir": util.WorkspaceDir, + "siyuanVer": util.Ver, } }