mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-02 11:36:27 -04:00
Chore: Extracted the dns monitor to its own monitor-type (#3413)
* extracted the dns monitor to its own monitor-type * linting fixes * another formatting fix * Fix: Improve dnsMessage handling (#3614) * fixed docs * fixed formatting changes
This commit is contained in:
parent
f0c54be43f
commit
d6af9162c1
3 changed files with 59 additions and 41 deletions
|
@ -110,6 +110,7 @@ class UptimeKumaServer {
|
|||
// Set Monitor Types
|
||||
UptimeKumaServer.monitorTypeList["real-browser"] = new RealBrowserMonitorType();
|
||||
UptimeKumaServer.monitorTypeList["tailscale-ping"] = new TailscalePing();
|
||||
UptimeKumaServer.monitorTypeList["dns"] = new DnsMonitorType();
|
||||
|
||||
this.io = new Server(this.httpServer);
|
||||
}
|
||||
|
@ -419,3 +420,4 @@ module.exports = {
|
|||
// Must be at the end to avoid circular dependencies
|
||||
const { RealBrowserMonitorType } = require("./monitor-types/real-browser-monitor-type");
|
||||
const { TailscalePing } = require("./monitor-types/tailscale-ping");
|
||||
const { DnsMonitorType } = require("./monitor-types/dns");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue