Fix console log string

This commit is contained in:
Cohee
2023-08-26 16:05:42 +03:00
parent 4d6d82ffcc
commit 464644e8a5

View File

@@ -405,7 +405,7 @@ app.use(function (req, res, next) {
if (listen && !knownIPs.has(clientIp)) { if (listen && !knownIPs.has(clientIp)) {
const userAgent = req.headers['user-agent']; const userAgent = req.headers['user-agent'];
console.log(color.yellow(`New connection from ${clientIp}; User Agent: ${userAgent}]\n`)); console.log(color.yellow(`New connection from ${clientIp}; User Agent: ${userAgent}\n`));
knownIPs.add(clientIp); knownIPs.add(clientIp);
// Write access log // Write access log