Compare commits
3 Commits
2aba5c6666
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b0e8cbca5 | ||
|
|
4ccb0dccaa | ||
|
|
33c4f5e6f7 |
@@ -6,6 +6,14 @@ app = FastAPI()
|
|||||||
def root():
|
def root():
|
||||||
return {"message": "Pozdrav svijete"}
|
return {"message": "Pozdrav svijete"}
|
||||||
|
|
||||||
|
@app.get("/info")
|
||||||
|
def info():
|
||||||
|
return {
|
||||||
|
"python": platform.python_version(),
|
||||||
|
"verzija": "2.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
1
manifesti
Submodule
1
manifesti
Submodule
Submodule manifesti added at 36538872fc
Reference in New Issue
Block a user