Olivier-Truong commited on
Commit
f247b37
·
verified ·
1 Parent(s): c810bff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -96,6 +96,10 @@ def responsesFrom(ip):
96
  @app.route('/api')
97
  def apiRooms():
98
  global freeRooms
 
 
 
 
99
  return json.dumps(freeRooms)
100
 
101
 
 
96
  @app.route('/api')
97
  def apiRooms():
98
  global freeRooms
99
+ try:
100
+ print(request.environ['HTTP_X_FORWARDED_FOR'])
101
+ except:
102
+ pass
103
  return json.dumps(freeRooms)
104
 
105