This commit is contained in:
Kyle Carberry 2021-09-09 16:26:05 -05:00
parent 682a3782a5
commit bece429508
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export const runCodeServer = async (args: DefaultedArgs): Promise<http.Server> =
await coderCloudBind(serverAddress.replace(/^https?:\/\//, ""), args.link.value)
logger.info(" - Connected to cloud agent")
}
try {
const port = parseInt(serverAddress.split(":").pop() as string, 10)
startLink(port).catch((ex) => {