feat: 接入机器人

This commit is contained in:
cp3hnu 2024-07-19 14:27:27 +08:00
parent 2ebbc7374a
commit 76fd298723
2 changed files with 1 additions and 2 deletions

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

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