This commit is contained in:
mr
2024-08-26 13:50:11 +02:00
parent b94f6c4ddf
commit 0815f8bd58
5 changed files with 55 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ func init() {
beego.GlobalControllerRouter["oc-shared/controllers:SharedWorkspaceController"] = append(beego.GlobalControllerRouter["oc-shared/controllers:SharedWorkspaceController"],
beego.ControllerComments{
Method: "AddRule",
Router: `/:id/peer/:id2`,
Router: `/:id/rule/:id2`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,