🧑‍💻 Add an internal kernel API /api/ui/reloadFiletree https://github.com/siyuan-note/siyuan/issues/14493

Add an internal kernel API `/api/ui/reloadUI` https://github.com/siyuan-note/siyuan/issues/14494
This commit is contained in:
Daniel 2025-04-01 12:21:17 +08:00
parent 31312bd7c0
commit d0ad863651
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 18 additions and 9 deletions

View file

@ -60,13 +60,6 @@ func ignoreAddMicrosoftDefenderExclusion(c *gin.Context) {
model.Conf.Save()
}
func reloadUI(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
util.ReloadUI()
}
func getWorkspaceInfo(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)