fix: lint

This commit is contained in:
Felix Roos 2024-03-30 05:00:49 +01:00
parent 29fe4fd907
commit 422a9ad525

View File

@ -71,6 +71,7 @@ const server = http.createServer(async (req, res) => {
readStream.pipe(res);
});
// eslint-disable-next-line
const PORT = process.env.PORT || 5432;
const IP_ADDRESS = '0.0.0.0';
let IP;
@ -86,6 +87,7 @@ Object.keys(networkInterfaces).forEach((key) => {
if (!IP) {
console.error("Unable to determine server's IP address.");
// eslint-disable-next-line
process.exit(1);
}