Skip to content

Commit d2b1115

Browse files
committed
feat(web-ui): restore legacy voice chat entry route
1 parent b72ac47 commit d2b1115

6 files changed

Lines changed: 750 additions & 184 deletions

File tree

web-ui/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Manager admin console skeleton built with React + MUI.
1010
- Protected routes and unified auth failure redirect
1111
- Role-based navigation (`admin` vs `normal_user`)
1212
- Basic layout for manager pages (`platform resources`, `tool market`, `voicebots/devices`)
13+
- Legacy voice chat page available at `/voice-chat`
1314

1415
## Run locally
1516

web-ui/dist/assets/index-B0fN4I-_.js

Lines changed: 227 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web-ui/dist/assets/index-DzkkSIW-.js

Lines changed: 0 additions & 183 deletions
This file was deleted.

web-ui/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>小智 · 终端对话</title>
7-
<script type="module" crossorigin src="/assets/index-DzkkSIW-.js"></script>
7+
<script type="module" crossorigin src="/assets/index-B0fN4I-_.js"></script>
88
<link rel="stylesheet" crossorigin href="/assets/index-CCBwXaU3.css">
99
</head>
1010
<body>

web-ui/src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import AdminLayout from './layout/AdminLayout.jsx';
88
import DashboardPage from './pages/DashboardPage.jsx';
99
import ForbiddenPage from './pages/ForbiddenPage.jsx';
1010
import LoginPage from './pages/LoginPage.jsx';
11+
import LegacyVoiceChatPage from './pages/LegacyVoiceChatPage.jsx';
1112
import NotFoundPage from './pages/NotFoundPage.jsx';
1213
import PlatformResourcesPage from './pages/PlatformResourcesPage.jsx';
1314
import RegisterPage from './pages/RegisterPage.jsx';
@@ -21,6 +22,7 @@ export default function App() {
2122
<Route path="/login" element={<LoginPage />} />
2223
<Route path="/register" element={<RegisterPage />} />
2324
<Route path="/forbidden" element={<ForbiddenPage />} />
25+
<Route path="/voice-chat" element={<LegacyVoiceChatPage />} />
2426

2527
<Route element={<RequireAuth />}>
2628
<Route element={<AdminLayout />}>

0 commit comments

Comments
 (0)