feat: v2 - dodan /info endpoint, update image tag 1.0 -> 2.0
This commit is contained in:
@@ -8,4 +8,8 @@ def root():
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {"status": "ok"}
|
||||
return {"status": "ok"}
|
||||
|
||||
@app.get("/info")
|
||||
def info():
|
||||
return {"servis": "priprema-za-kolokvij", "verzija": "2.0"}
|
||||
|
||||
Reference in New Issue
Block a user