fix: 默认路由改为聊天页index.html(含文件上传)
This commit is contained in:
@ -149,8 +149,8 @@ def admin_required(f):
|
|||||||
@app.route('/')
|
@app.route('/')
|
||||||
@login_required
|
@login_required
|
||||||
def index():
|
def index():
|
||||||
"""返回星图页面(默认首页)"""
|
"""返回聊天页面(默认首页)"""
|
||||||
return app.send_static_file('graph.html')
|
return app.send_static_file('index.html')
|
||||||
|
|
||||||
|
|
||||||
@app.route('/graph.html')
|
@app.route('/graph.html')
|
||||||
|
|||||||
Reference in New Issue
Block a user