🧑‍💻 Add internal kernel API /api/ui/reloadIcon https://github.com/siyuan-note/siyuan/issues/16008

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-03 15:50:43 +08:00
parent e9411f9677
commit e22d373ba8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 12 additions and 0 deletions

View file

@ -71,3 +71,10 @@ func reloadUI(c *gin.Context) {
util.ReloadUI()
}
func reloadIcon(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
model.ReloadIcon()
}