mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 11:19:57 +00:00
Preparing repo for merge of frontend with backend
This commit is contained in:
@@ -9,7 +9,7 @@ api_blueprint = Blueprint("api", __name__, template_folder="templates")
|
||||
|
||||
|
||||
# API to process vehicle
|
||||
@api_blueprint.route("/api", methods=["POST"])
|
||||
@api_blueprint.route("/", methods=["POST"])
|
||||
def data():
|
||||
data = request.data
|
||||
np = asyncio.run(process_image(image=data))
|
||||
|
||||
Reference in New Issue
Block a user