From 91620d7db23febef5d7cacc0c416b4221e553e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 5 Apr 2023 08:07:17 +0800 Subject: [PATCH] Revised the init_app function in the "accounting" module. --- src/accounting/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/accounting/__init__.py b/src/accounting/__init__.py index cce4707..3a9dbcb 100644 --- a/src/accounting/__init__.py +++ b/src/accounting/__init__.py @@ -47,7 +47,6 @@ def init_app(app: Flask, user_utils: UserUtilityInterface, init_user_utils(user_utils) bp: Blueprint = Blueprint("accounting", __name__, - url_prefix=url_prefix, template_folder="templates", static_folder="static") @@ -89,4 +88,4 @@ def init_app(app: Flask, user_utils: UserUtilityInterface, from . import option option.init_app(bp) - app.register_blueprint(bp) + app.register_blueprint(bp, url_prefix=url_prefix)