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