fix wildcard

This commit is contained in:
shoopea
2025-12-28 22:17:53 +01:00
parent 54d85767a7
commit 3aa0a852a2
3 changed files with 38 additions and 33 deletions

View File

@@ -70,8 +70,8 @@ func (a *AdminConfig) Run() {
r.GET("/app/deactivate/:app", ApiAppDeactivate)
r.GET("/app/:app/source/list", ApiAppSourceList)
r.GET("/app/:app/source/add/:src", ApiAppSourceAdd)
r.GET("/app/:app/source/del/:src", ApiAppSourceDel)
r.GET("/app/:app/source/add/*src", ApiAppSourceAdd)
r.GET("/app/:app/source/del/*src", ApiAppSourceDel)
srv := &http.Server{
Addr: a.Addr,