mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复 shell 变量初始化检查,更新 sentry 版本
This commit is contained in:
+1
-1
@@ -817,7 +817,7 @@ function wePlusBotNotify(text, desp) {
|
||||
const { WE_PLUS_BOT_TOKEN, WE_PLUS_BOT_RECEIVER, WE_PLUS_BOT_VERSION } =
|
||||
push_config;
|
||||
if (WE_PLUS_BOT_TOKEN) {
|
||||
const template = 'txt';
|
||||
let template = 'txt';
|
||||
if (desp.length > 800) {
|
||||
desp = desp.replace(/[\n\r]/g, '<br>');
|
||||
template = 'html';
|
||||
|
||||
Reference in New Issue
Block a user