Use receipt as primary API endpoint
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user