oc-scheduler -> scheduling + logs
This commit is contained in:
@@ -48,7 +48,8 @@ func init() {
|
||||
|
||||
beego.AddNamespace(ns)
|
||||
|
||||
// WebSocket route registered outside the Beego pipeline to avoid the
|
||||
// WebSocket routes registered outside the Beego pipeline to avoid the
|
||||
// spurious WriteHeader that prevents the 101 Switching Protocols upgrade.
|
||||
beego.Handler("/oc/:id/check", http.HandlerFunc(controllers.CheckStreamHandler))
|
||||
beego.Handler("/oc/check/:id", http.HandlerFunc(controllers.CheckStreamHandler))
|
||||
beego.Handler("/oc/logs", http.HandlerFunc(controllers.LogsStreamHandler))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user