formatting flask api backend

This commit is contained in:
Jacob Delgado 2024-11-19 22:25:18 -08:00
parent 4e6c6b7fdf
commit df431c11f9
3 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,7 @@ def mail():
})
# Handle Images
# Handle Serving Public Images
@app.route('/serve-image/<filename>', methods=['GET'])
def serve_image(filename):
@ -147,6 +147,7 @@ def register_user():
"email": email,
"order confirmed": order,
})
# Get orders
@app.route("/orders", methods=["GET"])
def orders():