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

Merge pull request #30 from milletbig/main

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