From e9524a2152dc551529c0cc58100c47a4462f724d Mon Sep 17 00:00:00 2001 From: ZhangWei-KUMO Date: Tue, 24 Dec 2024 13:00:14 +0800 Subject: [PATCH] debug --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 411f81b..7249e97 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ node index.js # Production pm2 start index.js -n tubex-wechatbot # Restart Process -pm2 restart index.js -n tubex-wechatbot +pm2 restart tubex-wechatbot # open logs and scan login QRcode pm2 logs tubex-wechatbot ``` diff --git a/index.js b/index.js index 6768dc6..882a5f9 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ import {saveWechatConfig} from './db/wechat.js'; import {saveWechatFriends,saveWechatRooms} from './util/wechat.js'; // import {Jimp} from 'jimp'; import bodyParser from 'body-parser'; -import {transporter,mailOptions} from './util/mail.js'; +import {transporter,mailOptions} from './util/mailer.js'; const port = 4000; config(); const app = express();