Skip to content

Commit

Permalink
renamed endpoint to health
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Aug 2, 2024
1 parent 5865700 commit 5a21305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rnd/market/market/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ async def lifespan(app: fastapi.FastAPI):
app.include_router(market.routes.admin.router, prefix="/market/admin", tags=["admin"])


@app.get("/")
def hb():
@app.get("/health")
def health():
return fastapi.responses.HTMLResponse(
content="<h1>Marketplace API</h1>", status_code=200
)
Expand Down

0 comments on commit 5a21305

Please sign in to comment.