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 }