Show forwarded IP in whitelist denied message
| @@ -75,7 +75,7 @@ export default function whitelistMiddleware() { | ||
| 75 | 75 | if (!noLogPaths.includes(req.path)) { |
| 76 | 76 | console.warn( |
| 77 | 77 | color.red( |
| 78 | 78 | `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`, |
| 79 | 79 | ), |
| 80 | 80 | ); |
| 81 | 81 | } |