Merge pull request #413 from cluom/master

为bark日志推送添加了请求参数的配置
This commit is contained in:
juewuy
2023-06-11 20:52:43 +08:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ logger(){
fi
}
[ -n "$push_bark" ] && {
url=${push_bark}/${log_text}
url=${push_bark}/${log_text}${bark_param}
if curl --version &> /dev/null;then
curl -kfsSl --connect-timeout 3 "$url" &>/dev/null
else