dodavanje jos jedne rute
All checks were successful
CI/CD Pipeline / build (push) Successful in 1m30s
CI/CD Pipeline / deploy (push) Successful in 1m59s

This commit is contained in:
2026-05-02 08:36:58 +02:00
parent b001c7dc97
commit c75f3b344c

View File

@@ -11,6 +11,10 @@ def health():
return {"status": "unhealthy"}, 503
return {"status": "ok"}
@app.get("/")
def root():
return {"message":"Hello iz mog Docker containere"}
@app.post("/break")
def break_health():
"""Simulira pad servisa za testiranje liveness probe-a"""