feat: update user-agent to Mozilla-compatible string
This commit is contained in:
parent
957674fca4
commit
52f7f8102b
|
|
@ -218,7 +218,7 @@ fn run_check_blocking(
|
||||||
.timeout_global(Some(timeout))
|
.timeout_global(Some(timeout))
|
||||||
.timeout_connect(Some(timeout))
|
.timeout_connect(Some(timeout))
|
||||||
.http_status_as_error(false)
|
.http_status_as_error(false)
|
||||||
.user_agent("PingQL-Monitor/0.1")
|
.user_agent("Mozilla/5.0 (compatible; PingQL/1.0; +https://pingql.com)")
|
||||||
.tls_config(tls)
|
.tls_config(tls)
|
||||||
.build()
|
.build()
|
||||||
.new_agent();
|
.new_agent();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue