feat: 接入机器人
This commit is contained in:
parent
2ebbc7374a
commit
76fd298723
|
@ -9,7 +9,7 @@ type RobotFrameProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function RobotFrame({ onClose, visible }: 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 = () => {
|
const openUrl = () => {
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
};
|
};
|
||||||
|
|
|
@ -134,7 +134,6 @@ function LogGroup({
|
||||||
// 建立 socket 连接
|
// 建立 socket 连接
|
||||||
const setupSockect = () => {
|
const setupSockect = () => {
|
||||||
let { host } = location;
|
let { host } = location;
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
host = '172.20.32.181:31213';
|
host = '172.20.32.181:31213';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue