diff --git a/web/web.go b/web/web.go index 10b1f845..c2ba81a4 100644 --- a/web/web.go +++ b/web/web.go @@ -43,6 +43,7 @@ func Setup(opts *cnf.Options) (err error) { s.Use(mw.Cors()) // Add cors headers // Setup authentication + s.Use(auth()) // Check body size