From 0d5344195000fd7f02c0ab6b463d06fa302860ce Mon Sep 17 00:00:00 2001 From: JK Date: Fri, 4 Dec 2020 01:45:20 +0000 Subject: [PATCH 1/2] Add "disabled by --link" note to certificate arg --- src/node/entry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/entry.ts b/src/node/entry.ts index 9aa69a65..81f37bf6 100644 --- a/src/node/entry.ts +++ b/src/node/entry.ts @@ -123,7 +123,7 @@ const main = async (args: DefaultedArgs): Promise => { if (args.cert) { logger.info(` - Using certificate for HTTPS: ${humanPath(args.cert.value)}`) } else { - logger.info(" - Not serving HTTPS") + logger.info(` - Not serving HTTPS ${args.link ? "(disabled by --link)" : ""}`) } if (args["proxy-domain"].length > 0) { From 04357ddd882f3a77d2904eeb33b4c43648e7af08 Mon Sep 17 00:00:00 2001 From: JK Date: Fri, 4 Dec 2020 01:46:55 +0000 Subject: [PATCH 2/2] Remove logs mentioning --link being beta --- src/node/coder-cloud.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node/coder-cloud.ts b/src/node/coder-cloud.ts index 1241bc90..6727d331 100644 --- a/src/node/coder-cloud.ts +++ b/src/node/coder-cloud.ts @@ -34,8 +34,6 @@ function runAgent(...args: string[]): Promise { } export function coderCloudBind(csAddr: string, serverName = ""): Promise { - logger.info("Remember --link is a beta feature and requires being accepted for testing") - logger.info("See https://github.com/cdr/code-server/discussions/2137") // addr needs to be in host:port format. // So we trim the protocol. csAddr = csAddr.replace(/^https?:\/\//, "")