🎨 Proxy setting sometimes cancel requests https://github.com/siyuan-note/siyuan/issues/9725

This commit is contained in:
Daniel 2023-11-24 21:47:51 +08:00
parent b1985eac74
commit 3c755b1864
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 5 additions and 1 deletions

View file

@ -206,6 +206,10 @@ func CheckAuth(c *gin.Context) {
c.Next()
return
}
if strings.HasPrefix(c.Request.RequestURI, "/api/system/getNetwork") {
c.Next()
return
}
}
// 通过 Cookie