An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: After modifying the access authentication code on the browser side, the other side does not refresh Fix https://github.com/siyuan-note/siyuan/issues/8028
Liang Ding981f4570fddc
diff --git a/kernel/api/router.go b/kernel/api/router.goindex 3ad7c09c1d..ff9fca1698 100644--- a/kernel/api/router.go+++ b/kernel/api/router.go@@ -52,7 +52,7 @@ func ServeAPI(ginServer *gin.Engine) {ginServer.Handle("POST", "/api/system/setAppearanceMode", model.CheckAuth, setAppearanceMode)ginServer.Handle("POST", "/api/system/getSysFonts", model.CheckAuth, getSysFonts)ginServer.Handle("POST", "/api/system/exit", model.CheckAuth, exit)- ginServer.Handle("POST", "/api/system/setUILayout", model.CheckAuth, setUILayout)+ ginServer.Handle("POST", "/api/system/setUILayout", setUILayout) // 这里不加鉴权 After modifying the access authentication code on the browser side, the other side does not refresh https://github.com/siyuan-note/siyuan/issues/8028ginServer.Handle("POST", "/api/system/getConf", model.CheckAuth, getConf)ginServer.Handle("POST", "/api/system/checkUpdate", model.CheckAuth, checkUpdate)ginServer.Handle("POST", "/api/system/exportLog", model.CheckAuth, exportLog)