init: FastAPI priprema-za-kolokvij + k8s manifesti (monorepo)
This commit is contained in:
@@ -3,7 +3,7 @@ from fastapi import FastAPI
|
||||
app = FastAPI()
|
||||
@app.get("/")
|
||||
def root():
|
||||
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"}
|
||||
return {"message": "Pozdrav svijete!", "autor": "petracamber"}
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
|
||||
Reference in New Issue
Block a user