persistent cfd quick tunnel

Signed-off-by: 0verflowme <priyanshukumarpu@gmail.com>
This commit is contained in:
0verflowme 2024-08-26 11:37:39 +05:30
parent 9f0f22c036
commit 557fec86b0
No known key found for this signature in database
GPG Key ID: 3171788D4B4541F7
2 changed files with 2 additions and 1 deletions

View File

@ -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,
) )
} }

View File

@ -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 {