mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 13:00:35 +08:00
Add CacheableDnsHttpAgent.install()
This commit is contained in:
@@ -17,6 +17,10 @@ class CacheableDnsHttpAgent {
|
||||
this.cacheable.install(https.globalAgent);
|
||||
}
|
||||
|
||||
static install(agent) {
|
||||
this.cacheable.install(agent);
|
||||
}
|
||||
|
||||
/**
|
||||
* @var {https.AgentOptions} agentOptions
|
||||
* @return {https.Agent}
|
||||
|
Reference in New Issue
Block a user