fix get remote address in app logging

This commit is contained in:
Sam 2024-08-15 15:22:11 +01:00
parent 12fc1490f0
commit 7fa469cb8e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def log(response):
'method': request.method,
'url': request.url,
'status': response.status_code,
'remote_addr': request.remote_addr,
'remote_addr': request.access_route[-1],
'user_agent': request.user_agent.string,
}