mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-04-11 12:59:10 +00:00
Update sendNotify.js
修正pushdeer推送通道中markdown格式问题
This commit is contained in:
parent
65239137f5
commit
602551691b
@ -1968,7 +1968,7 @@ function PushDeerNotify(text, desp) {
|
|||||||
desp = desp.replace(/%0A/g, '%0A%0A');
|
desp = desp.replace(/%0A/g, '%0A%0A');
|
||||||
const options = {
|
const options = {
|
||||||
url: `https://api2.pushdeer.com/message/push`,
|
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: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user