Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Remove debugging middleware
Browse files Browse the repository at this point in the history
Should revisit and add via env var config:
#1081
  • Loading branch information
James C. Scott committed May 4, 2017
1 parent c43567b commit 6a047d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/routes.go
Expand Up @@ -17,8 +17,6 @@ func InitRouter(settings *helpers.Settings, templates *template.Template) *web.R
return nil
}
router := web.New(Context{})
router.Middleware(web.LoggerMiddleware).
Middleware(web.ShowErrorsMiddleware)

// A closure that effectively loads the Settings into every request.
router.Middleware(func(c *Context, resp web.ResponseWriter, req *web.Request, next web.NextMiddlewareFunc) {
Expand Down

0 comments on commit 6a047d8

Please sign in to comment.