andrehoffmann80 commited on
Commit
7728dfd
·
verified ·
1 Parent(s): d5c6eb0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -8,6 +8,10 @@ import requests
8
 
9
  app = FastAPI()
10
 
 
 
 
 
11
  # CORS Configuration
12
  app.add_middleware(
13
  CORSMiddleware,
 
8
 
9
  app = FastAPI()
10
 
11
+ @app.get("/")
12
+ async def health_check():
13
+ return {"status": "online", "service": "pdf-analyzer"}
14
+
15
  # CORS Configuration
16
  app.add_middleware(
17
  CORSMiddleware,