🎨 Support one-click enable/disable of all downloaded plugins https://github.com/siyuan-note/siyuan/issues/8523

This commit is contained in:
Daniel 2023-06-23 21:52:23 +08:00
parent 6fa4245819
commit d54195a943
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 74 additions and 0 deletions

View file

@ -363,4 +363,5 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/petal/loadPetals", model.CheckAuth, model.CheckReadonly, loadPetals)
ginServer.Handle("POST", "/api/petal/setPetalEnabled", model.CheckAuth, model.CheckReadonly, setPetalEnabled)
ginServer.Handle("POST", "/api/petal/setPetalConf", model.CheckAuth, model.CheckReadonly, setPetalConf)
}