mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-16 15:51:14 +00:00
Compare commits
1 Commits
79bae828d8
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 9cd743af7f |
@@ -16,6 +16,6 @@ func StatMiddleware(c fiber.Ctx) error {
|
||||
status = "500"
|
||||
}
|
||||
}
|
||||
stat.RecordRequest(c.Method(), c.Path(), status)
|
||||
stat.RecordRequest(c.Method(), c.Route().Path, status)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user