From b170f8d4a06d69a8ed661036528272f703c970ce Mon Sep 17 00:00:00 2001 From: Joshua_huang <450557862@qq.com> Date: Sun, 24 Mar 2024 07:09:21 +0800 Subject: [PATCH] fix: broken 360 close #719 close #705 --- src/bots/Qihoo360AIBrainBot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bots/Qihoo360AIBrainBot.js b/src/bots/Qihoo360AIBrainBot.js index 6ee337bcbc..eb4891e32f 100644 --- a/src/bots/Qihoo360AIBrainBot.js +++ b/src/bots/Qihoo360AIBrainBot.js @@ -6,7 +6,7 @@ export default class Qihoo360AIBrainBot extends Bot { static _brandId = "360AiBrain"; static _className = "Qihoo360AIBrainBot"; // Class name of the bot static _logoFilename = "360-ai-brain-logo.png"; - static _loginUrl = "https://chat.360.cn/"; + static _loginUrl = "https://chat.360.com/"; constructor() { super(); @@ -16,7 +16,7 @@ export default class Qihoo360AIBrainBot extends Bot { let available = false; await axios - .get("https://chat.360.cn/backend-api/apiz/user/info") + .get("https://chat.360.com/backend-api/api/user/info") .then((response) => { available = response.data?.context?.message == "OK"; }) @@ -57,7 +57,7 @@ export default class Qihoo360AIBrainBot extends Bot { return new Promise((resolve, reject) => { try { const source = new SSE( - "https://chat.360.cn/backend-api/api/common/chat", + "https://chat.360.com/backend-api/api/common/chat", { headers, payload,