Skip to content
Merged
Prev Previous commit
Next Next commit
remove duplicate access log call
Signed-off-by: Andrew Thornton <[email protected]>
  • Loading branch information
zeripath committed Apr 6, 2021
commit ed44d2e997cc56927465cc98be8619e74e703ec6
4 changes: 0 additions & 4 deletions routers/api/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,6 @@ func Routes() *web.Route {
}
m.Use(context.APIContexter())

if setting.EnableAccessLog {
m.Use(context.AccessLogger())
}

m.Use(context.ToggleAPI(&context.ToggleOptions{
SignInRequired: setting.Service.RequireSignInView,
}))
Expand Down