Website monitor via HeroUnion.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import common from './lib/common.mjs'; |
|
import Monitor from './monitor.mjs'; |
|
|
|
(async () => { |
|
let configFile = 'config.json'; |
|
if (process.argv.length >= 3) { |
|
configFile = process.argv[2]; |
|
} |
|
|
|
let monitor = new Monitor(configFile); |
|
await monitor.init(); |
|
})(); |