diff --git a/app/main.py b/app/main.py index 621bf8d..9bbf146 100644 --- a/app/main.py +++ b/app/main.py @@ -6,6 +6,14 @@ app = FastAPI() def root(): return {"message": "Pozdrav svijete"} +@app.get("/info") +def info(): + return { + "python": platform.python_version(), + "verzija": "2.0" + } + + @app.get("/health") def health(): diff --git a/manifesti b/manifesti new file mode 160000 index 0000000..3653887 --- /dev/null +++ b/manifesti @@ -0,0 +1 @@ +Subproject commit 36538872fc91e454b09eafb180334c8c6538c9f1