feat: 升级版本为v1.0.4
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
|
|
||||||
app = FastAPI(title="CI/CD Demo", version="1.0.3")
|
app = FastAPI(title="CI/CD Demo", version="1.0.4")
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def root():
|
def root():
|
||||||
return {"status": "ok", "version": "1.0.3"}
|
return {"status": "ok", "version": "1.0.4"}
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
def health():
|
def health():
|
||||||
|
|||||||
Reference in New Issue
Block a user