mirror of https://github.com/certd/certd
fix: 修复消息内容存在()<>等括号情况下无法发送tg通知的bug
parent
43c7a19849
commit
c937583a50
|
@ -121,9 +121,13 @@ export abstract class BaseNotification implements INotification {
|
|||
async onTestRequest() {
|
||||
return await this.doSend({
|
||||
userId: 0,
|
||||
title: "【Certd】测试通知【*.foo.com】,标题长度测试、测试、测试",
|
||||
content: `测试通知,*.foo.com
|
||||
title: "【标题】测试通知【*.foo.com】,标题长度测试、测试、测试",
|
||||
content: `测试通知
|
||||
域名测试: *.foo.com
|
||||
换行测试
|
||||
(括号测试)
|
||||
<尖括号测试>
|
||||
[中括号测试]
|
||||
`,
|
||||
pipeline: {
|
||||
id: 1,
|
||||
|
|
Loading…
Reference in New Issue