This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
import uvicorn
|
import uvicorn
|
||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
|
|
||||||
app = FastAPI(title="CI/CD Demo", version="1.0.5")
|
app = FastAPI(title="CI/CD Demo", version="1.0.6")
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"status": "ok", "version": "1.0.5"}
|
return {"status": "ok", "version": "1.0.6"}
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
Reference in New Issue
Block a user