persistent cfd quick tunnel
Signed-off-by: 0verflowme <priyanshukumarpu@gmail.com>
This commit is contained in:
parent
9f0f22c036
commit
557fec86b0
|
@ -261,7 +261,7 @@ func (sc *subcommandContext) runWithCredentials(credentials connection.Credentia
|
||||||
return StartServer(
|
return StartServer(
|
||||||
sc.c,
|
sc.c,
|
||||||
buildInfo,
|
buildInfo,
|
||||||
&connection.TunnelProperties{Credentials: credentials},
|
&connection.TunnelProperties{Credentials: credentials, QuickTunnelUrl: credentials.Hostname},
|
||||||
sc.log,
|
sc.log,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,7 @@ type Credentials struct {
|
||||||
AccountTag string
|
AccountTag string
|
||||||
TunnelSecret []byte
|
TunnelSecret []byte
|
||||||
TunnelID uuid.UUID
|
TunnelID uuid.UUID
|
||||||
|
Hostname string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Credentials) Auth() pogs.TunnelAuth {
|
func (c *Credentials) Auth() pogs.TunnelAuth {
|
||||||
|
|
Loading…
Reference in New Issue