Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- templates/menu.html +1 -1
templates/menu.html
CHANGED
@@ -692,7 +692,7 @@ function addToCartFromModal() {
|
|
692 |
};
|
693 |
|
694 |
// Send the cart data to the server
|
695 |
-
fetch('/
|
696 |
method: 'POST',
|
697 |
headers: {
|
698 |
'Content-Type': 'application/json',
|
|
|
692 |
};
|
693 |
|
694 |
// Send the cart data to the server
|
695 |
+
fetch('/menu_page/cart_page/cart/add', {
|
696 |
method: 'POST',
|
697 |
headers: {
|
698 |
'Content-Type': 'application/json',
|