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
commit 279da4b97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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',
},