mirror of
https://github.com/Xevion/linkpulse.git
synced 2026-01-31 04:24:46 -06:00
Add health check path for backend
This commit is contained in:
@@ -23,6 +23,10 @@ app.add_middleware(
|
|||||||
allow_headers=["*"],
|
allow_headers=["*"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@app.get("/health")
|
||||||
|
async def health():
|
||||||
|
return "OK"
|
||||||
|
|
||||||
|
|
||||||
@app.get("/api/test")
|
@app.get("/api/test")
|
||||||
async def get_current_time(request: Request):
|
async def get_current_time(request: Request):
|
||||||
|
|||||||
Reference in New Issue
Block a user