From 4457fab03843d25db0265ee21b56594ed1e38f93 Mon Sep 17 00:00:00 2001 From: Alcedo Date: Tue, 29 Aug 2023 09:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/management.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/management.js b/apps/management.js index 4a7e070..dd719e2 100644 --- a/apps/management.js +++ b/apps/management.js @@ -1280,7 +1280,7 @@ Poe 模式会调用 Poe 中的 Claude-instant 进行对话。需要提供 Cookie if (await redis.exists('CHATGPT:USE') != 0) { redisConfig.useMode = await redis.get('CHATGPT:USE') } - const filepath = path.join('plugins/chatgpt-plugin/resources', 'view.json') + const filepath = path.join('plugins/chatgpt-plugin/resources/view', 'setting_view.json') const configView = JSON.parse(fs.readFileSync(filepath, 'utf8')) const configJson = JSON.stringify({ chatConfig: Config, @@ -1289,7 +1289,7 @@ Poe 模式会调用 Poe 中的 Claude-instant 进行对话。需要提供 Cookie }) console.log(configJson) const buf = Buffer.from(configJson) - e.friend.sendFile(buf, `ChatGPT-Plugin Config ${new Date()}.json`) + e.friend.sendFile(buf, `ChatGPT-Plugin Config ${Date.now()}.json`) return true }