x
This commit is contained in:
@@ -110,15 +110,6 @@ func initWebPluginList() {
|
||||
plugin_subcribe_addresses = new
|
||||
return nil
|
||||
})
|
||||
GinApi(GET, "/api/plugins/download", func(c *gin.Context) {
|
||||
uuid := c.Query("uuid")
|
||||
for _, f := range Functions {
|
||||
if f.UUID == uuid && f.Public {
|
||||
c.String(200, publicScript(plugins.GetString(f.UUID)))
|
||||
return
|
||||
}
|
||||
}
|
||||
})
|
||||
GinApi(GET, "/api/plugins/list.json", func(ctx *gin.Context) {
|
||||
current := utils.Int(ctx.Query("current"))
|
||||
pageSize := utils.Int(ctx.Query("pageSize"))
|
||||
|
||||
Reference in New Issue
Block a user