Update sendNotify.js

上次pr只修改了一个文件,后来发现还有一个地方需要修改。
This commit is contained in:
milletbig 2023-06-17 16:47:59 +08:00
parent fd5232ac2f
commit 2daeab8fae

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