mirror of https://github.com/Lissy93/dashy.git
fixed the comment a bit more
This commit is contained in:
parent
b658d94adc
commit
5d11c58ac4
|
@ -17,7 +17,7 @@ const startTime = new Date(); // Initialize timestamp to calculate time taken
|
||||||
|
|
||||||
console.log(`[${startTime}] Running health check...`);
|
console.log(`[${startTime}] Running health check...`);
|
||||||
|
|
||||||
/* Creates an HTTP client, attempts to send GET to app, then exits with appropriate exit code */
|
/* Creates an HTTP Request to attempt to send GET to app, then exits with appropriate exit code */
|
||||||
const healthCheck = http.request(requestOptions, (response) => {
|
const healthCheck = http.request(requestOptions, (response) => {
|
||||||
const totalTime = (new Date() - startTime) / 1000;
|
const totalTime = (new Date() - startTime) / 1000;
|
||||||
const status = response.statusCode;
|
const status = response.statusCode;
|
||||||
|
|
Loading…
Reference in New Issue