Avinashnalla7 commited on
Commit
33eca2d
·
verified ·
1 Parent(s): 7bb6701

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -1 +1,19 @@
1
- from backend.api import app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EXISTING IMPORTS (keep as-is)
2
+ from fastapi import FastAPI
3
+ # ... all your other imports (DO NOT TOUCH)
4
+
5
+ app = FastAPI()
6
+
7
+ # ✅ ADD THIS ONLY (top, after app creation)
8
+ @app.get("/")
9
+ def root():
10
+ return {"status": "ok"}
11
+
12
+ # ------------------------
13
+ # EVERYTHING BELOW = YOUR EXISTING CODE
14
+ # DO NOT MODIFY
15
+ # ------------------------
16
+
17
+ # your existing routes...
18
+ # your gmail logic...
19
+ # your endpoints...