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

Compare commits

...

3 Commits

Author SHA1 Message Date
6dylan6 279da4b97d Merge pull request #33 from milletbig/main
Update sendNotify.js
2023-06-17 21:20:33 +08:00
milletbig dc0d809126 Merge branch '6dylan6:main' into main 2023-06-17 16:52:35 +08:00
milletbig 2daeab8fae Update sendNotify.js
上次pr只修改了一个文件,后来发现还有一个地方需要修改。
2023-06-17 16:47:59 +08:00
+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',
},