mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-10 13:10:33 +08:00
TUN-3255: Update UI to display URL instead of hostname
This commit is contained in:
committed by
Areg Harutyunyan
parent
094e0c7592
commit
fee13dc62f
@@ -533,11 +533,11 @@ func StartServer(c *cli.Context, version string, shutdownC, graceShutdownC chan
|
||||
}()
|
||||
|
||||
if c.IsSet("launch-ui") {
|
||||
connEventChan := make(chan ui.ConnEvent)
|
||||
tunnelConfig.ConnEventChan = connEventChan
|
||||
tunnelEventChan := make(chan ui.TunnelEvent)
|
||||
tunnelConfig.TunnelEventChan = tunnelEventChan
|
||||
|
||||
tunnelInfo := ui.NewUIModel(version, hostname, metricsListener.Addr().String(), tunnelConfig.OriginUrl, tunnelConfig.HAConnections)
|
||||
tunnelInfo.LaunchUI(ctx, logger, connEventChan)
|
||||
tunnelInfo.LaunchUI(ctx, logger, tunnelEventChan)
|
||||
}
|
||||
|
||||
return waitToShutdown(&wg, errC, shutdownC, graceShutdownC, c.Duration("grace-period"), logger)
|
||||
|
||||
Reference in New Issue
Block a user