From ae79616c73314c56048480c363ce9de1cc9cbeeb Mon Sep 17 00:00:00 2001 From: BPplays Date: Thu, 26 Dec 2024 11:44:30 -0800 Subject: [PATCH] changed color of ip warning --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 98f8a8b4f..eb824a360 100644 --- a/server.js +++ b/server.js @@ -288,11 +288,11 @@ if (dnsPreferIPv6) { const ipOptions = [true, 'auto', false]; if (!ipOptions.includes(enableIPv6)) { - console.warn('`protocol: ipv6` option invalid\n use:', ipOptions, "\n setting to: auto"); + console.warn(color.red('`protocol: ipv6` option invalid'), "\n use:", ipOptions, "\n setting to: auto"); enableIPv6 = 'auto'; } if (!ipOptions.includes(enableIPv4)) { - console.warn('`protocol: ipv4` option invalid\n use:', ipOptions, "\n setting to: auto"); + console.warn(color.red('`protocol: ipv4` option invalid'), "\n use:", ipOptions, "\n setting to: auto"); enableIPv4 = 'auto'; }