Update app.py
Browse files
app.py
CHANGED
@@ -493,7 +493,8 @@ def login():
|
|
493 |
return render_template("login.html")
|
494 |
# Register Blueprints for each functionality
|
495 |
app.register_blueprint(menu_blueprint)
|
496 |
-
app.register_blueprint(cart_blueprint)
|
|
|
497 |
app.register_blueprint(order_blueprint)
|
498 |
|
499 |
|
|
|
493 |
return render_template("login.html")
|
494 |
# Register Blueprints for each functionality
|
495 |
app.register_blueprint(menu_blueprint)
|
496 |
+
app.register_blueprint(cart_blueprint, url_prefix='/cart') # Register the cart blueprint with URL prefix
|
497 |
+
|
498 |
app.register_blueprint(order_blueprint)
|
499 |
|
500 |
|