Move request parameters logging into api request logger

This commit is contained in:
Dan Sosedoff
2022-12-06 12:24:21 -06:00
parent dda70352c0
commit 2f9d737515
3 changed files with 7 additions and 13 deletions

View File

@@ -7,10 +7,6 @@ import (
)
func SetupMiddlewares(group *gin.RouterGroup) {
if command.Opts.Debug {
group.Use(requestInspectMiddleware())
}
if command.Opts.Cors {
group.Use(corsMiddleware())
}