From 3dbff768e68f30a63e37f646ab35841da33cad96 Mon Sep 17 00:00:00 2001 From: Levi Tomes <4184677+ltomes@users.noreply.github.com> Date: Thu, 4 Aug 2022 11:26:17 -0500 Subject: [PATCH] PROXY-DOMAIN may be a subdomain + domain This logging was confusing when a user passes a full . as proxy-domain, for instance when running code-server with cloudflare tunnels. This is likely not the best fix. If preferred, I can do some work here to determine if the string is just a domain, or a subdomain+domain, and switch logging behavior based on that condition. --- src/node/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/main.ts b/src/node/main.ts index 00b4bda1526a..22842b0272bc 100644 --- a/src/node/main.ts +++ b/src/node/main.ts @@ -153,7 +153,7 @@ export const runCodeServer = async ( 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}`)) + args["proxy-domain"].forEach((domain) => logger.info(` - ${domain}`)) } if (args.link) {