commit
9baf1e90ff
|
@ -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?:\/\//, "")
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue