mirror of
https://github.com/astaxie/beego.git
synced 2025-05-23 18:43:10 +00:00
context.output now need reponsewriter
This commit is contained in:
parent
b8ed790858
commit
b346617dc1
@ -464,7 +464,6 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
||||
|
||||
if context.Input.IsWebsocket() {
|
||||
context.ResponseWriter = rw
|
||||
context.Output = beecontext.NewOutput(rw)
|
||||
}
|
||||
|
||||
// defined filter function
|
||||
|
Loading…
x
Reference in New Issue
Block a user