webhook 자동 배포 설정

This commit is contained in:
2026-01-25 11:51:39 +09:00
parent 9c9968b9a7
commit b815c37064
9 changed files with 97 additions and 1 deletions

View File

@@ -342,3 +342,7 @@ def api_recommend_batch_save(body: BatchSave):
return {"saved": True, "created_ids": created, "deduped_ids": deduped}
@app.get("/api/version")
def version():
import os
return {"version": os.getenv("APP_VERSION", "dev")}