File size: 401 Bytes
33eca2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# EXISTING IMPORTS (keep as-is)
from fastapi import FastAPI
# ... all your other imports (DO NOT TOUCH)

app = FastAPI()

# ✅ ADD THIS ONLY (top, after app creation)
@app.get("/")
def root():
    return {"status": "ok"}

# ------------------------
# EVERYTHING BELOW = YOUR EXISTING CODE
# DO NOT MODIFY
# ------------------------

# your existing routes...
# your gmail logic...
# your endpoints...