From f646238503dccd255eb9e010fa1806786bfeb628 Mon Sep 17 00:00:00 2001 From: CK Date: Sat, 14 Dec 2024 15:25:02 +0800 Subject: [PATCH] deleted: ShellCrash_PR modified: scripts/start.sh --- ShellCrash_PR | 1 - scripts/start.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 160000 ShellCrash_PR diff --git a/ShellCrash_PR b/ShellCrash_PR deleted file mode 160000 index 6e278d6..0000000 --- a/ShellCrash_PR +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 6e278d6abadeaa60d051bd54b77d932e2844d496 diff --git a/scripts/start.sh b/scripts/start.sh index be5bd20..73e4fc7 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -129,6 +129,9 @@ logger() { #日志工具 webpush "$url" "$content" & } [ -n "$push_SynoChat" ] && { + # url="${push_ChatURL}" + # content="payload={\"text\":\"${log_text}\", \"user_ids\":[${push_ChatUSERID}]}" + # webpush "$url" "$content" & curl -X POST "${push_ChatURL}/webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2&token=${push_ChatTOKEN}" -H 'content-Type: application/json' -d "payload={\"text\":\"${log_text}\", \"user_ids\":[${push_ChatUSERID}]}" >/dev/null 2>&1 } } &