Minor change
This commit is contained in:
parent
78915bd601
commit
c0b28c9b0a
10
main.go
10
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user