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