update box api

This commit is contained in:
shoopea
2026-01-10 11:33:33 +01:00
parent 3aa0a852a2
commit ba418edc51
4 changed files with 153 additions and 4 deletions

View File

@@ -73,6 +73,10 @@ func (a *AdminConfig) Run() {
r.GET("/app/:app/source/add/*src", ApiAppSourceAdd)
r.GET("/app/:app/source/del/*src", ApiAppSourceDel)
r.GET("/box/list", ApiBoxList)
r.GET("/box/add/:box", ApiBoxAdd)
r.GET("/box/del/:box", ApiBoxDel)
srv := &http.Server{
Addr: a.Addr,
Handler: r,