fix(errors,middlewares): return plain text on 404 error
This commit is contained in:
@@ -188,8 +188,6 @@ func (m *ErrorMiddleware) Wrap(next http.Handler) http.Handler {
|
||||
return
|
||||
}
|
||||
|
||||
_, _ = w.Write(b)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user