1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-05-02 02:36:40 +08:00

Update sendNotify.js

修正pushdeer推送通道中markdown格式问题
This commit is contained in:
milletbig
2023-06-13 20:44:04 +08:00
committed by GitHub
parent 65239137f5
commit 602551691b
+1 -1
View File
@@ -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',
},