| 75 | if (!noLogPaths.includes(req.path)) { | 75 | if (!noLogPaths.includes(req.path)) { |
| 76 | console.warn( | 76 | console.warn( |
| 77 | color.red( | 77 | color.red( |
| 78 | `Blocked connection from ${clientIp}; User Agent: ${userAgent}\n\tTo allow this connection, add its IP address to the whitelist or disable whitelist mode by editing config.yaml in the root directory of your SillyTavern installation.\n`, | 78 | `Blocked connection from ${ipDetails}; User Agent: ${userAgent}\n\tTo allow this connection, add its IP address to the whitelist or disable whitelist mode by editing config.yaml in the root directory of your SillyTavern installation.\n`, |
| 79 | ), | 79 | ), |
| 80 | ); | 80 | ); |
| 81 | } | 81 | } |