mirror of
https://git.tuxpa.in/a/code-server.git
synced 2025-01-22 07:08:46 +00:00
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
Block a user