LapStore commited on
Commit
2b2b6d9
1 Parent(s): 485d5a3
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -25,8 +25,6 @@ app.state.limiter = limiter
25
  # Register the Limiter with FastAPI
26
  @app.middleware("http")
27
  async def add_process_time_header(request: Request, call_next):
28
- client_ip = get_remote_address(request)
29
- print(f"Request from IP: {client_ip}") # Log the client IP
30
  response = await call_next(request)
31
  return response
32
 
 
25
  # Register the Limiter with FastAPI
26
  @app.middleware("http")
27
  async def add_process_time_header(request: Request, call_next):
 
 
28
  response = await call_next(request)
29
  return response
30