fix: lint
This commit is contained in:
parent
29fe4fd907
commit
422a9ad525
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ const server = http.createServer(async (req, res) => {
|
||||||
readStream.pipe(res);
|
readStream.pipe(res);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// eslint-disable-next-line
|
||||||
const PORT = process.env.PORT || 5432;
|
const PORT = process.env.PORT || 5432;
|
||||||
const IP_ADDRESS = '0.0.0.0';
|
const IP_ADDRESS = '0.0.0.0';
|
||||||
let IP;
|
let IP;
|
||||||
|
|
@ -86,6 +87,7 @@ Object.keys(networkInterfaces).forEach((key) => {
|
||||||
|
|
||||||
if (!IP) {
|
if (!IP) {
|
||||||
console.error("Unable to determine server's IP address.");
|
console.error("Unable to determine server's IP address.");
|
||||||
|
// eslint-disable-next-line
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue