mirror of
https://github.com/astaxie/beego.git
synced 2025-06-21 00:40:18 +00:00
context.output now need reponsewriter
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user