Fixed error with writing after response already sent to client

This commit is contained in:
2025-06-28 16:34:13 -05:00
parent 6f3fbe2a6a
commit 2370a798d1

View File

@@ -162,9 +162,6 @@ http
}
}
}
/* ---- anything else ---------- */
res.writeHead(404).end();
})
.listen(PORT, () => {
consola.info(`Listening on port :${PORT}`);