From e37b35278d4b529fd774469c3e1807ec8f4d1eb0 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 27 Jul 2023 09:26:11 -0800 Subject: [PATCH] Account for disabled proxy in startup logs --- src/node/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/node/main.ts b/src/node/main.ts index 73b982e12..76f5f2560 100644 --- a/src/node/main.ts +++ b/src/node/main.ts @@ -144,7 +144,9 @@ export const runCodeServer = async ( logger.info(" - Not serving HTTPS") } - if (args["proxy-domain"].length > 0) { + if (args["disable-proxy"]) { + logger.info(" - Proxy disabled") + } else if (args["proxy-domain"].length > 0) { logger.info(` - ${plural(args["proxy-domain"].length, "Proxying the following domain")}:`) args["proxy-domain"].forEach((domain) => logger.info(` - ${domain}`)) }