解决不好的东西被展示,无法重定向到安全地带
This commit is contained in:
@@ -34,10 +34,11 @@ def re():
|
|||||||
def no_say_man(subpath=None):
|
def no_say_man(subpath=None):
|
||||||
return redirect(url_for('blog.re'))
|
return redirect(url_for('blog.re'))
|
||||||
|
|
||||||
|
@blog_bp.route('/mirrors/game/')
|
||||||
@blog_bp.route('/mirrors/game/<path:subpath>')
|
@blog_bp.route('/mirrors/game/<path:subpath>')
|
||||||
def no_game(subpath=None):
|
def no_game(subpath=None):
|
||||||
return redirect(url_for('blog.re'))
|
return redirect(url_for('blog.re'))
|
||||||
|
# 重定向
|
||||||
|
|
||||||
@blog_bp.route('/')
|
@blog_bp.route('/')
|
||||||
def home():
|
def home():
|
||||||
|
|||||||
Reference in New Issue
Block a user