Karlo Pintaric commited on
Commit
841b9b8
1 Parent(s): c3c2fd9

Update src/api/main.py

Browse files
Files changed (1) hide show
  1. src/api/main.py +4 -4
src/api/main.py CHANGED
@@ -104,10 +104,10 @@ def handle_exceptions(request, ex):
104
  return JSONResponse(content={"error": "Internal Server Error", "detail": str(ex)}, status_code=500)
105
 
106
 
107
- @app.get("/")
108
- def root():
109
- logger.info("Received request to root endpoint")
110
- return {"message": "Welcome to my API. Go to /docs to view the documentation."}
111
 
112
 
113
  @app.get("/health-check")
 
104
  return JSONResponse(content={"error": "Internal Server Error", "detail": str(ex)}, status_code=500)
105
 
106
 
107
+ #@app.get("/")
108
+ #def root():
109
+ # logger.info("Received request to root endpoint")
110
+ # return {"message": "Welcome to my API. Go to /docs to view the documentation."}
111
 
112
 
113
  @app.get("/health-check")