BachDaThan commited on
Commit
8852b70
·
verified ·
1 Parent(s): edf060c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -248,6 +248,8 @@ app = FastAPI(title=f"Yui Worker [{WORKER_ROLE}]", docs_url=None, redoc_url=None
248
 
249
  @app.get("/")
250
  @app.get("/health")
 
 
251
  async def health():
252
  return {
253
  "status": "ok", "role": WORKER_ROLE,
 
248
 
249
  @app.get("/")
250
  @app.get("/health")
251
+ @app.head("/")
252
+ @app.head("/health")
253
  async def health():
254
  return {
255
  "status": "ok", "role": WORKER_ROLE,