Skip to content

Commit 3dbff76

Browse files
authored
PROXY-DOMAIN may be a subdomain + domain
This logging was confusing when a user passes a full <subdomain>.<domain> 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.
1 parent 9087e0c commit 3dbff76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const runCodeServer = async (
153153

154154
if (args["proxy-domain"].length > 0) {
155155
logger.info(` - ${plural(args["proxy-domain"].length, "Proxying the following domain")}:`)
156-
args["proxy-domain"].forEach((domain) => logger.info(` - *.${domain}`))
156+
args["proxy-domain"].forEach((domain) => logger.info(` - ${domain}`))
157157
}
158158

159159
if (args.link) {

0 commit comments

Comments
 (0)