diff --git a/astrbot/dashboard/routes/static_file.py b/astrbot/dashboard/routes/static_file.py index 3d12cdedd..92b515ea7 100644 --- a/astrbot/dashboard/routes/static_file.py +++ b/astrbot/dashboard/routes/static_file.py @@ -3,7 +3,7 @@ class StaticFileRoute(Route): def __init__(self, context: RouteContext) -> None: super().__init__(context) - index_ = ['/', '/auth/login', '/config', '/logs', '/extension', '/dashboard/default', '/project-atri', '/console'] + index_ = ['/', '/auth/login', '/config', '/logs', '/extension', '/dashboard/default', '/project-atri', '/console', '/chat'] for i in index_: self.app.add_url_rule(i, view_func=self.index) diff --git a/packages/astrbot/main.py b/packages/astrbot/main.py index f52767444..20250509b 100644 --- a/packages/astrbot/main.py +++ b/packages/astrbot/main.py @@ -45,7 +45,7 @@ class Main(star.Star): /deop : 取消管理员 /wl : 添加会话白名单 /dwl : 删除会话白名单 -/dashboard update: 更新管理面板 +/dashboard_update: 更新管理面板 [大模型] /provider: 查看、切换大模型提供商