Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ app = FastAPI()
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
async def get_ip(request: Request):
|
|
|
|
| 7 |
client_host = request.client.host
|
| 8 |
|
| 9 |
# Handle proxy headers if present
|
|
|
|
| 4 |
|
| 5 |
@app.get("/")
|
| 6 |
async def get_ip(request: Request):
|
| 7 |
+
print(request)
|
| 8 |
client_host = request.client.host
|
| 9 |
|
| 10 |
# Handle proxy headers if present
|