Added host names in request log

This commit is contained in:
2017-06-23 15:38:46 +02:00
parent f552a803db
commit 45f85d9a1e
3 changed files with 60 additions and 4 deletions

View File

@ -78,6 +78,7 @@ func configure(app *aero.Application) *aero.Application {
app.Use(middleware.Log())
app.Use(middleware.Session())
app.Use(middleware.UserInfo())
app.Use(middleware.IPToHost())
// API
api := api.New("/api/", arn.DB)