mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Unable to enter the main interface after enabling the kernel read-only mode Fix https://github.com/siyuan-note/siyuan/issues/9086
This commit is contained in:
parent
493eba5a14
commit
2bdabfe9e7
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ func ServeAPI(ginServer *gin.Engine) {
|
|||
ginServer.Handle("POST", "/api/ai/chatGPT", model.CheckAuth, model.CheckReadonly, chatGPT)
|
||||
ginServer.Handle("POST", "/api/ai/chatGPTWithAction", model.CheckAuth, model.CheckReadonly, chatGPTWithAction)
|
||||
|
||||
ginServer.Handle("POST", "/api/petal/loadPetals", model.CheckAuth, model.CheckReadonly, loadPetals)
|
||||
ginServer.Handle("POST", "/api/petal/loadPetals", model.CheckAuth, loadPetals)
|
||||
ginServer.Handle("POST", "/api/petal/setPetalEnabled", model.CheckAuth, model.CheckReadonly, setPetalEnabled)
|
||||
|
||||
ginServer.Handle("POST", "/api/network/forwardProxy", model.CheckAuth, model.CheckReadonly, forwardProxy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue