Use full url instead of path in middleware

This commit is contained in:
cuom1999 2023-02-13 18:00:24 -06:00
parent 5e4b289833
commit 7b2c4126f9

View file

@ -155,7 +155,7 @@ class SlowRequestMiddleware(object):
if response_time > 9:
message = {
"message": "Slow request",
"path": request.path,
"url": request.build_absolute_uri(),
"response_time": response_time * 1000,
"method": request.method,
"profile": request.profile,