More RESTful name

This commit is contained in:
Thastertyn committed 2024-03-10 17:11:14 +01:00
1 parent e6ed37ad5e
commit 78aa03b2fb
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@ from flask import Blueprint
bp_errors = Blueprint('errors', __name__) bp_errors = Blueprint('errors', __name__)
bp = Blueprint('api', __name__) bp = Blueprint('api', __name__)
bp_product = Blueprint('product', __name__, url_prefix="/product") bp_product = Blueprint('products', __name__, url_prefix="/products")
bp_user = Blueprint('user', __name__, url_prefix="/user") bp_user = Blueprint('user', __name__, url_prefix="/user")
bp_cart = Blueprint('cart', __name__, url_prefix="/cart") bp_cart = Blueprint('cart', __name__, url_prefix="/cart")