From 602551691b98eb4be8a02ff18474ce2d02523a69 Mon Sep 17 00:00:00 2001 From: milletbig <33082048+milletbig@users.noreply.github.com> Date: Tue, 13 Jun 2023 20:44:04 +0800 Subject: [PATCH] Update sendNotify.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正pushdeer推送通道中markdown格式问题 --- sendNotify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendNotify.js b/sendNotify.js index 12bb234..94740ae 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -1968,7 +1968,7 @@ function PushDeerNotify(text, desp) { desp = desp.replace(/%0A/g, '%0A%0A'); const options = { url: `https://api2.pushdeer.com/message/push`, - body: `pushkey=${PUSHDEER_KEY}&text=${text}&desp=${desp}&type=markdown`, + body: `pushkey=${PUSHDEER_KEY}&text=${text}&desp=${desp}&type="markdown"`, headers: { 'Content-Type': 'application/x-www-form-urlencoded', },