mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-14 09:16:11 -04:00
Add CacheableDnsHttpAgent.install()
This commit is contained in:
parent
8f7b7e74c9
commit
17ed051401
2 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue