From 1ce6dcf41b3c7a719455b6297868f7fc22adc162 Mon Sep 17 00:00:00 2001 From: salma Date: Mon, 5 Jun 2023 11:28:51 +0800 Subject: [PATCH] synced with Alpha-snapshot20230525 --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.py b/app/main.py index 4e3f829..aeaa5c1 100644 --- a/app/main.py +++ b/app/main.py @@ -11,6 +11,7 @@ from Article import * import Yaml from user_service import userService from account_service import accountService +from wordCMD import show_bp from admin_service import adminService, ADMIN_NAME app = Flask(__name__) app.secret_key = 'lunch.time!' @@ -19,6 +20,7 @@ app.secret_key = 'lunch.time!' app.register_blueprint(userService) app.register_blueprint(accountService) app.register_blueprint(adminService) +app.register_blueprint(show_bp) path_prefix = '/var/www/wordfreq/wordfreq/' path_prefix = './' # comment this line in deployment