cmd/tsconnect: allow hostname to be specified

The auto-generated hostname is nice as a default, but there are cases
where the client has a more specific name that it can generate.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
Mihai Parparita
2022-09-12 11:51:19 -07:00
committed by Mihai Parparita
parent 11fcc3a7b0
commit c312e0d264
2 changed files with 16 additions and 14 deletions

View File

@@ -47,6 +47,7 @@ declare global {
stateStorage?: IPNStateStorage
authKey?: string
controlURL?: string
hostname?: string
}
type IPNCallbacks = {