File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -989,7 +989,12 @@ async function noticePushoo (comment) {
989989 const sendResult = await pushoo ( config . PUSHOO_CHANNEL , {
990990 token : config . PUSHOO_TOKEN ,
991991 title : pushContent . subject ,
992- content : pushContent . content
992+ content : pushContent . content ,
993+ options : {
994+ bark : {
995+ url : pushContent . POST_URL
996+ }
997+ }
993998 } )
994999 console . log ( '即时消息通知结果:' , sendResult )
9951000}
@@ -1013,7 +1018,8 @@ function getIMPushContent (comment) {
10131018原文链接:[${ POST_URL } ](${ POST_URL } )`
10141019 return {
10151020 subject,
1016- content
1021+ content,
1022+ POST_URL
10171023 }
10181024}
10191025
Original file line number Diff line number Diff line change 11{
22 "name" : " twikoo-func" ,
3- "version" : " 1.5.0 " ,
3+ "version" : " 1.5.1 " ,
44 "description" : " A simple comment system based on Tencent CloudBase (tcb)." ,
55 "author" : " imaegoo <hello@imaegoo.com> (https://github.com/imaegoo)" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments