Skip to content

Commit

Permalink
fix: add status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Nov 15, 2023
1 parent 0b5c8af commit b3ddad9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ async def create_price(price: schemas.PriceCreate, current_user: schemas.UserBas
return db_price


@app.get("/status")
async def status_endpoint():
return {"status": "running"}


@app.get("/robots.txt", response_class=PlainTextResponse)
def robots_txt():
return """User-agent: *\nDisallow: /"""

0 comments on commit b3ddad9

Please sign in to comment.