fix(Blueprints) way of api

Now /api is creating reverse proxy
This commit is contained in:
Black_Raven committed 2026-04-02 12:37:58 +03:00
1 parent 5596c20056
commit b20eb2ed0c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ from db.handlers.product_handler import get_products_with_filters, get_product_b
from flask import Blueprint
# Создаем blueprint для API
api_product = Blueprint('api_product', __name__, url_prefix='/api/products')
api_product = Blueprint('api_product', __name__, url_prefix='/products')
@api_product.route('/', methods=['GET'])
def get_products():