Browse Source

feat: 接入机器人

pull/107/head
cp3hnu 1 year ago
parent
commit
76fd298723
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      react-ui/src/components/RobotFrame/index.tsx
  2. +0
    -1
      react-ui/src/pages/Experiment/components/LogGroup/index.tsx

+ 1
- 1
react-ui/src/components/RobotFrame/index.tsx View File

@@ -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');
};


+ 0
- 1
react-ui/src/pages/Experiment/components/LogGroup/index.tsx View File

@@ -134,7 +134,6 @@ function LogGroup({
// 建立 socket 连接
const setupSockect = () => {
let { host } = location;

if (process.env.NODE_ENV === 'development') {
host = '172.20.32.181:31213';
}


Loading…
Cancel
Save