We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36ff72 commit 5ac8bedCopy full SHA for 5ac8bed
echo.go
@@ -561,21 +561,13 @@ func (e *Echo) ServeHTTP(w http.ResponseWriter, r *http.Request) {
561
h := NotFoundHandler
562
563
if e.premiddleware == nil {
564
- path := r.URL.RawPath
565
- if path == "" {
566
- path = r.URL.Path
567
- }
568
e.router.Find(m, getPath(r), c)
569
h = c.Handler()
570
for i := len(e.middleware) - 1; i >= 0; i-- {
571
h = e.middleware[i](h)
572
}
573
} else {
574
h = func(c Context) error {
575
576
577
578
579
580
h := c.Handler()
581
0 commit comments