Skip to content

Commit 6430299

Browse files
committed
Fixed #135
Signed-off-by: Vishal Rana <[email protected]>
1 parent 959f4bd commit 6430299

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

context.go

+1
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,6 @@ func (c *Context) Error(err error) {
179179
func (c *Context) reset(r *http.Request, w http.ResponseWriter, e *Echo) {
180180
c.request = r
181181
c.response.reset(w)
182+
c.query = nil
182183
c.echo = e
183184
}

echo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func New() (e *Echo) {
158158
//----------
159159

160160
if runtime.GOOS == "windows" {
161-
color.Disable()
161+
e.DisableColoredLog()
162162
}
163163
e.HTTP2(false)
164164
e.notFoundHandler = func(c *Context) error {

0 commit comments

Comments
 (0)