mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
站点页面和计划页面登录检查
This commit is contained in:
@@ -22,6 +22,7 @@ import thisdb
|
||||
|
||||
blueprint = Blueprint('site', __name__, url_prefix='/site', template_folder='../../templates/default')
|
||||
@blueprint.route('/index', endpoint='index')
|
||||
@panel_login_required
|
||||
def index():
|
||||
return render_template('site.html')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user