mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 Proxy setting sometimes cancel requests https://github.com/siyuan-note/siyuan/issues/9725
This commit is contained in:
parent
1bab5429ac
commit
b1985eac74
3 changed files with 19 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ func ServeAPI(ginServer *gin.Engine) {
|
|||
ginServer.Handle("POST", "/api/system/logoutAuth", model.LogoutAuth)
|
||||
ginServer.Handle("GET", "/api/system/getCaptcha", model.GetCaptcha)
|
||||
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/8028
|
||||
|
||||
ginServer.Handle("POST", "/api/system/getNetwork", getNetwork) // 启动时获取网络设置,不能加鉴权
|
||||
ginServer.Handle("GET", "/snippets/*filepath", serveSnippets)
|
||||
|
||||
// 需要鉴权
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue