Skip to content

Commit 0ce7e3c

Browse files
committed
fix: IP logging issue
1 parent 0319fc9 commit 0ce7e3c

File tree

1 file changed

+1
-1
lines changed
  • app/middleware/app_logger

1 file changed

+1
-1
lines changed

app/middleware/app_logger/new.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func New() fiber.Handler {
6161
"log_id", c.Locals("log_id").(string),
6262
"user_id", user_id,
6363
"route", c.Path(),
64-
"ip_address", c.IP(),
64+
"ip_address", c.IPs(),
6565
"request_details", formData,
6666
)
6767

0 commit comments

Comments
 (0)