Show forwarded IP in whitelist denied message

6947ca7433e30a89e3fe07bb7862d00897774d75

Stephen Brown <steve@fig14.com>

1 files changed, +1 -1Ignore whitespace
src/middleware/whitelist.js+1 -1
@@ -75,7 +75,7 @@ export default function whitelistMiddleware() {
7575 if (!noLogPaths.includes(req.path)) {
7676 console.warn(
7777 color.red(
7878 `Blocked connection from ${clientIpipDetails}; 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`,
7979 ),
8080 );
8181 }