mirror of https://git.tuxpa.in/a/code-server.git
fmt
This commit is contained in:
parent
682a3782a5
commit
bece429508
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue