mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
minor comment
This commit is contained in:
parent
1d24604978
commit
5ed68bced4
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ def run(arg):
|
|||
l.setLevel(DEBUG)
|
||||
l.debug('debug logging enabled')
|
||||
|
||||
# Get client IP from webapp
|
||||
# Get client IP from webapp, try HTTP_X_FORWARDED_FOR and fallback on
|
||||
# REMOTE_ADDR.
|
||||
client_ip = environ.get(
|
||||
'HTTP_X_FORWARDED_FOR',
|
||||
environ.get('REMOTE_ADDR')
|
||||
|
|
Loading…
Reference in a new issue