From 379b31fb5b0c19e9a9242ef4b29ddc7b5d5ed881 Mon Sep 17 00:00:00 2001 From: Tiger Date: Thu, 12 Feb 2026 17:15:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85url=5Fprefix=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/routes/assets.py | 2 +- app/routes/cards.py | 2 +- app/routes/matters.py | 2 +- app/routes/pages.py | 2 +- app/routes/reactions.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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():