Skip to content

Commit

Permalink
Update app-example.conf
Browse files Browse the repository at this point in the history
Add the setting of TG_PARSE_MODE to the conf file
  • Loading branch information
boy530 authored Jul 22, 2024
1 parent 244f2f7 commit a4f67f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/app-example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ TG_USERID=xxxxx
TG_CHANNAME=xxxxx
#tg api地址, 可以配置为代理地址
#TG_API_PROXY="https://api.telegram.org/bot%s/%s"
#TG_PARSE_MODE设置为 "1" ,启用Markdown
TG_PARSE_MODE = "0"

#---------------------↓workwechat接口-----------------------
#是否开启workwechat告警通道,可同时开始多个通道0为关闭,1为开启
Expand Down Expand Up @@ -297,4 +299,4 @@ kafka_server = 127.0.0.1:9092
# 写入消息的kafka topic
kafka_topic = devops
# 用户标记该消息是来自PrometheusAlert,一般无需修改
kafka_key = PrometheusAlert
kafka_key = PrometheusAlert

0 comments on commit a4f67f5

Please sign in to comment.