mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix console log string
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user