1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-12 01:22:21 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-07-13 23:36:56 -07:00
parent 959f4bd1ab
commit 6430299ca0
2 changed files with 2 additions and 1 deletions

View File

@ -179,5 +179,6 @@ func (c *Context) Error(err error) {
func (c *Context) reset(r *http.Request, w http.ResponseWriter, e *Echo) {
c.request = r
c.response.reset(w)
c.query = nil
c.echo = e
}

View File

@ -158,7 +158,7 @@ func New() (e *Echo) {
//----------
if runtime.GOOS == "windows" {
color.Disable()
e.DisableColoredLog()
}
e.HTTP2(false)
e.notFoundHandler = func(c *Context) error {