Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Sometimes the audio or video does not play https://github.com/siyuan-note/siyuan/issues/11810

Daniel9d08ef3008ff
diff --git a/kernel/model/session.go b/kernel/model/session.go
index 9eff880344..83da630646 100644
--- a/kernel/model/session.go
+++ b/kernel/model/session.go
@@ -386,11 +386,7 @@ func Timing(c *gin.Context) {
}
func Recover(c *gin.Context) {
- defer func() {
- logging.Recover()
- c.Status(http.StatusInternalServerError)
- }()
-
+ defer logging.Recover()
c.Next()
}