formatting flask api backend
This commit is contained in:
parent
4e6c6b7fdf
commit
df431c11f9
Binary file not shown.
Binary file not shown.
@ -120,7 +120,7 @@ def mail():
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# Handle Images
|
# Handle Serving Public Images
|
||||||
@app.route('/serve-image/<filename>', methods=['GET'])
|
@app.route('/serve-image/<filename>', methods=['GET'])
|
||||||
def serve_image(filename):
|
def serve_image(filename):
|
||||||
|
|
||||||
@ -147,6 +147,7 @@ def register_user():
|
|||||||
"email": email,
|
"email": email,
|
||||||
"order confirmed": order,
|
"order confirmed": order,
|
||||||
})
|
})
|
||||||
|
|
||||||
# Get orders
|
# Get orders
|
||||||
@app.route("/orders", methods=["GET"])
|
@app.route("/orders", methods=["GET"])
|
||||||
def orders():
|
def orders():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user