add check affix to endpoints
This commit is contained in:
parent
0dcb8459a6
commit
e4efbe4c2d
@ -6,7 +6,7 @@ app = FastAPI()
|
||||
async def root():
|
||||
return {"message": "Welcome to Measures LOFT solver service. v0.1"}
|
||||
|
||||
@app.get("/health")
|
||||
@app.get("/healthcheck")
|
||||
async def health():
|
||||
content = {
|
||||
"maintainer": "Meazure Horizon Team",
|
||||
@ -17,6 +17,6 @@ async def health():
|
||||
}
|
||||
return content
|
||||
|
||||
@app.get('/ready')
|
||||
@app.get('/readycheck')
|
||||
async def ready():
|
||||
return 'OK' # just means we're on air
|
||||
|
Loading…
x
Reference in New Issue
Block a user