feat: v2 - dodan /info endpoint, update image tag 1.0 -> 2.0
This commit is contained in:
@@ -4,7 +4,7 @@ app = FastAPI()
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"message": "Pozdrav svijete! (v2)", "autor": "VAŠ_KORISNIK"}
|
return {"message": "Pozdrav svijete! (v2)", "autor": "petrraa"}
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
Reference in New Issue
Block a user