mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-15 15:31:16 +00:00
fix: stat path
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user