Update app/main.py
This commit is contained in:
@@ -4,7 +4,7 @@ app = FastAPI()
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"}
|
return {"message": "Pozdrav svijete!", "autor": "nikolahrkac"}
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
@@ -15,7 +15,7 @@ app = FastAPI()
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"message": "Pozdrav svijete!", "autor": "VAŠ_KORISNIK"}
|
return {"message": "Pozdrav svijete!", "autor": "nikolahrkac"}
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
Reference in New Issue
Block a user