From c0b28c9b0a077b5e2679f8e2cb12ca240d2bfe53 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 14 Oct 2017 17:18:32 +0200 Subject: [PATCH] Minor change --- main.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index ff6132eb..79744cc8 100644 --- a/main.go +++ b/main.go @@ -178,10 +178,12 @@ func configure(app *aero.Application) *aero.Application { app.Rewrite(rewrite) // Middleware - app.Use(middleware.Firewall()) - app.Use(middleware.Log()) - app.Use(middleware.Session()) - app.Use(middleware.UserInfo()) + app.Use( + middleware.Firewall(), + middleware.Log(), + middleware.Session(), + middleware.UserInfo() + ) // API arn.API.Install(app)