diff --git a/app/routes/assets.py b/app/routes/assets.py index 4b28cc6..4491531 100644 --- a/app/routes/assets.py +++ b/app/routes/assets.py @@ -4,7 +4,7 @@ from flask import Blueprint, send_file, jsonify from ..utils import assets -asset_bp = Blueprint("asset", __name__, "/asset") +asset_bp = Blueprint("asset", __name__, url_prefix="/asset") @asset_bp.route("/list") def asset_list(): diff --git a/app/routes/cards.py b/app/routes/cards.py index 881acb2..edd3864 100644 --- a/app/routes/cards.py +++ b/app/routes/cards.py @@ -4,7 +4,7 @@ from flask import Blueprint, jsonify from ..utils import cards -card_bp = Blueprint("card", __name__, "/card") +card_bp = Blueprint("card", __name__, url_prefix="/card") @card_bp.route("/list") def card_list(): diff --git a/app/routes/matters.py b/app/routes/matters.py index 2dfa4f1..ebd107d 100644 --- a/app/routes/matters.py +++ b/app/routes/matters.py @@ -4,7 +4,7 @@ from flask import Blueprint, jsonify from ..utils import matters -matter_bp = Blueprint("matter", __name__, "/matter") +matter_bp = Blueprint("matter", __name__, url_prefix="/matter") @matter_bp.route("/list") def matter_list(): diff --git a/app/routes/pages.py b/app/routes/pages.py index e86eff1..c3f6a36 100644 --- a/app/routes/pages.py +++ b/app/routes/pages.py @@ -4,7 +4,7 @@ from flask import Blueprint, jsonify from ..utils import index -page_bp = Blueprint("page", __name__, "/") +page_bp = Blueprint("page", __name__, url_prefix="/") @page_bp.route("/") def index_page(): diff --git a/app/routes/reactions.py b/app/routes/reactions.py index 13aeb8b..0395e8f 100644 --- a/app/routes/reactions.py +++ b/app/routes/reactions.py @@ -4,7 +4,7 @@ from flask import Blueprint, jsonify from ..utils import reactions -reaction_bp = Blueprint("reaction", __name__, "/reaction") +reaction_bp = Blueprint("reaction", __name__, url_prefix="/reaction") @reaction_bp.route("list") def reaction_list():