Minor change

This commit is contained in:
Eduard Urbach 2017-10-14 17:18:32 +02:00
parent 78915bd601
commit c0b28c9b0a

10
main.go
View File

@ -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)