Merge pull request #2399 from JammSpread/master

Tweak Coder Cloud logs
This commit is contained in:
Anmol Sethi 2020-12-04 02:11:50 -05:00 committed by GitHub
commit 9baf1e90ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -34,8 +34,6 @@ function runAgent(...args: string[]): Promise<void> {
} }
export function coderCloudBind(csAddr: string, serverName = ""): Promise<void> { export function coderCloudBind(csAddr: string, serverName = ""): Promise<void> {
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. // addr needs to be in host:port format.
// So we trim the protocol. // So we trim the protocol.
csAddr = csAddr.replace(/^https?:\/\//, "") csAddr = csAddr.replace(/^https?:\/\//, "")

View File

@ -123,7 +123,7 @@ const main = async (args: DefaultedArgs): Promise<void> => {
if (args.cert) { if (args.cert) {
logger.info(` - Using certificate for HTTPS: ${humanPath(args.cert.value)}`) logger.info(` - Using certificate for HTTPS: ${humanPath(args.cert.value)}`)
} else { } else {
logger.info(" - Not serving HTTPS") logger.info(` - Not serving HTTPS ${args.link ? "(disabled by --link)" : ""}`)
} }
if (args["proxy-domain"].length > 0) { if (args["proxy-domain"].length > 0) {