Confirmation + Controlling API add
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
ns := beego.NewNamespace("/oc/",
|
||||
ns := beego.NewNamespace("/oc",
|
||||
beego.NSInclude(
|
||||
&controllers.WorkflowSchedulerController{},
|
||||
),
|
||||
@@ -51,5 +51,5 @@ func init() {
|
||||
// WebSocket routes registered outside the Beego pipeline to avoid the
|
||||
// spurious WriteHeader that prevents the 101 Switching Protocols upgrade.
|
||||
beego.Handler("/oc/check/:id", http.HandlerFunc(controllers.CheckStreamHandler))
|
||||
beego.Handler("/oc/logs", http.HandlerFunc(controllers.LogsStreamHandler))
|
||||
beego.Handler("/oc/logs/:id", http.HandlerFunc(controllers.LogsStreamHandler))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user