mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 19:10:54 +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() {
|
if context.Input.IsWebsocket() {
|
||||||
context.ResponseWriter = rw
|
context.ResponseWriter = rw
|
||||||
context.Output = beecontext.NewOutput(rw)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// defined filter function
|
// defined filter function
|
||||||
|
Loading…
Reference in New Issue
Block a user