mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🧑💻 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:
parent
31312bd7c0
commit
d0ad863651
3 changed files with 18 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue