From 4513a80bddcbdf06fd19e92638b2fa4acdd4adb4 Mon Sep 17 00:00:00 2001 From: Lan Hui <1348141770@qq.com> Date: Thu, 21 Jul 2022 22:15:07 +0800 Subject: [PATCH] Remove unused code. --- app/user_service.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/user_service.py b/app/user_service.py index f9ecc58..f758f77 100644 --- a/app/user_service.py +++ b/app/user_service.py @@ -22,20 +22,6 @@ path_prefix = '/var/www/wordfreq/wordfreq/' path_prefix = './' # comment this line in deployment - -#@userService.route("//reset", methods=['GET', 'POST']) -#def user_reset(username): - #''' - #用户界面 - #:param username: 用户名 - #:return: 返回页面内容 - #''' -# if request.method == 'GET': -# session['articleID'] = None -# return redirect(url_for('user_bp.userpage', username=username)) -# else: -# return 'Under construction' - @userService.route("//reset", methods=['GET', 'POST']) def user_reset(username): '''