Use receipt as primary API endpoint

This commit is contained in:
“Naeel”
2026-08-29 13:37:26 +03:00
parent 773b088bfa
commit d7c2ca7c45
4 changed files with 46 additions and 2 deletions
+3
View File
@@ -35,10 +35,13 @@ def authorized() -> bool:
@app.get("/health")
@app.get("/receipt/health")
def health():
return jsonify(status="ok")
@app.post("/receipt")
@app.post("/receipt/")
@app.post("/recipe")
@app.post("/recipe/")
def recipe():