fix namespace

This commit is contained in:
2026-05-26 10:58:12 +02:00
parent c9326ebe31
commit fc617d6751

View File

@@ -3,7 +3,7 @@ from fastapi import FastAPI
app = FastAPI() app = FastAPI()
@app.get("/") @app.get("/")
def root(): def root():
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"} return {"message": "Pozdrav svijete!", "autor": "mihaeljanjic"}
@app.get("/health") @app.get("/health")
def health(): def health():