Update notify.js

This commit is contained in:
Appoip 2022-09-04 11:19:05 +08:00 committed by GitHub
parent db056d63a7
commit 769e30fee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,7 +437,7 @@ function ChatNotify(text, desp, time = 2100) {
desp = encodeURI(desp); desp = encodeURI(desp);
const options = { const options = {
url: `${CHAT_URL}${CHAT_TOKEN}`, url: `${CHAT_URL}${CHAT_TOKEN}`,
body: `payload={"text":"${desp}"}`, body: `payload={"text":"${text}\n${desp}"}`,
headers: { headers: {
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/x-www-form-urlencoded',
}, },