From 88b5444b574401378996c6ab624e3765a7c9cfac Mon Sep 17 00:00:00 2001 From: milletbig <33082048+milletbig@users.noreply.github.com> Date: Fri, 16 Jun 2023 12:26:17 +0800 Subject: [PATCH] Update notify.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正pushdeer推送中,markdown格式显示问题 --- sample/notify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/notify.js b/sample/notify.js index c4307640..6042c312 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -465,7 +465,7 @@ function PushDeerNotify(text, desp) { desp = encodeURI(desp); const options = { url: PUSHDEER_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', },