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) app.Rewrite(rewrite)
// Middleware // Middleware
app.Use(middleware.Firewall()) app.Use(
app.Use(middleware.Log()) middleware.Firewall(),
app.Use(middleware.Session()) middleware.Log(),
app.Use(middleware.UserInfo()) middleware.Session(),
middleware.UserInfo()
)
// API // API
arn.API.Install(app) arn.API.Install(app)