Skip to content

通知问题 #13

@Ladavian

Description

@Ladavian

目前使用的TG机器人进行通知的,在环境变量中填了PROXY参数,tg机器人会有偶发性连接不上的问题,确定代理是没问题,因为在其他应用上使用的同一个代理,TG是没问题的
另外是否可以增加自定义通知模块,可以这样也不需要代理之类的参数了,是不是会更简单一些?以下是青龙自定义通知的参数,望参考

22. 自定义通知

自定义通知 接收回调的URL

export WEBHOOK_URL=""

WEBHOOK_BODY 和 WEBHOOK_HEADERS 多个参数时,直接换行或者使用 $'\n' 连接多行字符串,比如 export dd="line 1"$'\n'"line 2"

export WEBHOOK_BODY=""
export WEBHOOK_HEADERS=""

支持 GET/POST/PUT

export WEBHOOK_METHOD=""

支持 text/plain、application/json、multipart/form-data、application/x-www-form-urlencoded

export WEBHOOK_CONTENT_TYPE=""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions