From 241cc6c2fff7f4ef7abf61202f011af00a99ba79 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Mon, 16 Jan 2023 19:27:00 +0800 Subject: [PATCH] Update index.js --- config/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index 209364f..e614364 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,7 @@ export const Config = { username: '', password: '', // 改为true后,全局默认以图片形式回复,并自动发出Continue命令补全回答 - defaultUsePicture: false, + defaultUsePicture: true, // 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒 conversationPreserveTime: 0, // UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36', @@ -21,7 +21,7 @@ export const Config = { // true时使用无头模式,无界面的服务器可以为true,但遇到验证码时可能无法使用。 headless: false, // 为空使用默认puppeteer的chromium,也可以传递自己本机安装的Chrome可执行文件地址,提高通过率 - chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', + chromePath: '', // 可注册2captcha实现跳过验证码,收费服务但很便宜。否则需要手点 - '2captchaToken': '43ea84056638820040af89d03910bb97' + '2captchaToken': '' }