fix: stat path

This commit is contained in:
2025-12-14 15:35:44 +08:00
parent 79bae828d8
commit 9cd743af7f

View File

@@ -16,6 +16,6 @@ func StatMiddleware(c fiber.Ctx) error {
status = "500" status = "500"
} }
} }
stat.RecordRequest(c.Method(), c.Path(), status) stat.RecordRequest(c.Method(), c.Route().Path, status)
return err return err
} }