AsadCognify commited on
Commit
50f635a
·
verified ·
1 Parent(s): 712d387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -3,6 +3,11 @@ from fastapi.responses import JSONResponse
3
 
4
  app = FastAPI()
5
 
 
 
 
 
 
6
  @app.get("/ping")
7
  async def ping():
8
  print("Received ping request")
 
3
 
4
  app = FastAPI()
5
 
6
+ @app.get("/")
7
+ async def home():
8
+ print("Fetch base")
9
+ return JSONResponse(content={"message": "running"})
10
+
11
  @app.get("/ping")
12
  async def ping():
13
  print("Received ping request")