mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-20 17:08:18 +00:00
fix: 文件上传融合到graph.html(星图页面),删除冗余index.html
This commit is contained in:
@ -149,8 +149,8 @@ def admin_required(f):
|
||||
@app.route('/')
|
||||
@login_required
|
||||
def index():
|
||||
"""返回聊天页面(默认首页)"""
|
||||
return app.send_static_file('index.html')
|
||||
"""默认首页 - 星图页面"""
|
||||
return app.send_static_file('graph.html')
|
||||
|
||||
|
||||
@app.route('/graph.html')
|
||||
@ -159,13 +159,6 @@ def graph_html():
|
||||
"""返回星图页面"""
|
||||
return app.send_static_file('graph.html')
|
||||
|
||||
|
||||
@app.route('/chat')
|
||||
@login_required
|
||||
def chat():
|
||||
"""返回聊天页面"""
|
||||
return app.send_static_file('index.html')
|
||||
|
||||
# 全局服务器和客户端实例
|
||||
backend_server: BackendServer = None
|
||||
backend_client: BackendClient = None
|
||||
|
||||
Reference in New Issue
Block a user