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)
|
||||
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user