mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-02-04 22:54:49 +00:00
Update sendNotify.js
上次pr只修改了一个文件,后来发现还有一个地方需要修改。
This commit is contained in:
parent
fd5232ac2f
commit
2daeab8fae
@ -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',
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user