格式化代码
This commit is contained in:
@@ -4,7 +4,8 @@ from .auth import login_required
|
||||
# 创建主页蓝图
|
||||
main_bp = Blueprint('main', __name__)
|
||||
|
||||
|
||||
@main_bp.route('/')
|
||||
@login_required
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
return render_template('index.html')
|
||||
|
||||
Reference in New Issue
Block a user