Spaces:
Sleeping

gsstec commited on
Commit
6f7c9f3
·
verified ·
1 Parent(s): 796c9e4

Upload 4 files

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -103,8 +103,9 @@ def run_diffdock_inference(protein_pdb_content, ligand_smiles_string):
103
  app = FastAPI()
104
 
105
  @app.get("/ping")
 
106
  async def ping():
107
- """Health check endpoint for UptimeRobot monitoring"""
108
  return JSONResponse({
109
  "status": "online",
110
  "service": "RDKit Drug-Likeness Engine",
 
103
  app = FastAPI()
104
 
105
  @app.get("/ping")
106
+ @app.head("/ping")
107
  async def ping():
108
+ """Health check endpoint for UptimeRobot monitoring - supports both GET and HEAD"""
109
  return JSONResponse({
110
  "status": "online",
111
  "service": "RDKit Drug-Likeness Engine",