From 76fd298723256edd05496f9260ba42ce35858c36 Mon Sep 17 00:00:00 2001 From: cp3hnu Date: Fri, 19 Jul 2024 14:27:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=85=A5=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- react-ui/src/components/RobotFrame/index.tsx | 2 +- react-ui/src/pages/Experiment/components/LogGroup/index.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/react-ui/src/components/RobotFrame/index.tsx b/react-ui/src/components/RobotFrame/index.tsx index 49789aa7..7905265d 100644 --- a/react-ui/src/components/RobotFrame/index.tsx +++ b/react-ui/src/components/RobotFrame/index.tsx @@ -9,7 +9,7 @@ type RobotFrameProps = { }; function RobotFrame({ onClose, visible }: RobotFrameProps) { - const url = 'http://172.20.32.181:30080/chat/l4S79c4rly0o1pn7'; + const url = 'http://172.20.32.181:30080/chat/EruwZfxVgDkWdLYs'; const openUrl = () => { window.open(url, '_blank'); }; diff --git a/react-ui/src/pages/Experiment/components/LogGroup/index.tsx b/react-ui/src/pages/Experiment/components/LogGroup/index.tsx index a232b30f..b6d45ce0 100644 --- a/react-ui/src/pages/Experiment/components/LogGroup/index.tsx +++ b/react-ui/src/pages/Experiment/components/LogGroup/index.tsx @@ -134,7 +134,6 @@ function LogGroup({ // 建立 socket 连接 const setupSockect = () => { let { host } = location; - if (process.env.NODE_ENV === 'development') { host = '172.20.32.181:31213'; }