1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-05-06 13:43:05 +08:00

Merge pull request #33 from milletbig/main

Update sendNotify.js
This commit is contained in:
6dylan6
2023-06-17 21:20:33 +08:00
committed by GitHub
+1 -1
View File
@@ -1916,7 +1916,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',
},