mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
Add a better example for the recaptcha middleware as requested at: https://github.com/kataras/iris/issues/799
Former-commit-id: 85c3286a9d6be5cf47631e7608f70f3790934e64
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/kataras/golog"
|
||||
"html"
|
||||
"net/http"
|
||||
"sort"
|
||||
@@ -136,7 +137,9 @@ func (h *routerHandler) Build(provider RoutesProvider) error {
|
||||
if err := h.addRoute(r); err != nil {
|
||||
// node errors:
|
||||
rp.Add("%v -> %s", err, r.String())
|
||||
continue
|
||||
}
|
||||
golog.Debugf(r.Trace())
|
||||
}
|
||||
|
||||
return rp.Return()
|
||||
|
||||
Reference in New Issue
Block a user