mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Ignore linting healthcheck & exclue in rate-limiting
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
/* eslint-disable no-console */
|
||||
/* eslint-disable no-undef */
|
||||
const http = require('http');
|
||||
const options = {
|
||||
host: 'localhost',
|
||||
@@ -19,7 +16,7 @@ const healthCheck = http.request(options, (res) => {
|
||||
});
|
||||
|
||||
healthCheck.on('error', function (err) {
|
||||
console.error(err);
|
||||
console.error(`HEALTH CHECK ERROR: ${err}`);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user