admin跳转管理后台到本地连接问题

This commit is contained in:
runny committed 2026-05-09 09:27:31 +08:00
1 parent 7f542f54a5
commit ffc00af9fa
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@
<meta name="apple-mobile-web-app-title" content="AI工作台" /> <meta name="apple-mobile-web-app-title" content="AI工作台" />
<link rel="manifest" href="/manifest.webmanifest" /> <link rel="manifest" href="/manifest.webmanifest" />
<title>AI工作台</title> <title>AI工作台</title>
<script type="module" crossorigin src="/assets/index-uH1T_5lG.js"></script> <script type="module" crossorigin src="/assets/index-cKdfgj1g.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CeYjUdzN.css"> <link rel="stylesheet" crossorigin href="/assets/index-DY8VTReJ.css">
</head> </head>
<body> <body>
<div id="app"></div>␍ <div id="app"></div>␍
+1 -1
View File
@@ -939,7 +939,7 @@ const navigateToGeneralChat = () => {
}; };
const openAdminPanel = () => { const openAdminPanel = () => {
window.location.assign('http://localhost:8881/admin'); router.push('/admin');
}; };
const navigateToChat = (id: number) => { const navigateToChat = (id: number) => {