Explorar el Código

:art: Add a kernel API `/api/system/getWorkspaceInfo` https://github.com/siyuan-note/siyuan/issues/13300

Daniel hace 7 meses
padre
commit
041c050d98
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      kernel/api/system.go

+ 1 - 0
kernel/api/system.go

@@ -41,6 +41,7 @@ func getWorkspaceInfo(c *gin.Context) {
 
 	ret.Data = map[string]any{
 		"workspaceDir": util.WorkspaceDir,
+		"siyuanVer":    util.Ver,
 	}
 }