We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a1e0e9 commit 1827e22Copy full SHA for 1827e22
1 file changed
cmd/protocol.go
@@ -95,18 +95,20 @@ func wsCommand(cmd *cobra.Command, args []string) {
95
96
// Collect flag data into struct to use with renderers
97
flagData := server.FlagData{
98
- Addr: Address,
99
- BuildInfo: BuildInfo,
100
- Details: Details,
101
- LogFile: LogFile,
102
- Port: Port,
103
- Protocol: "ws",
104
- Web: Web,
105
- WebPort: WebPort,
+ Addr: Address,
+ BuildInfo: BuildInfo,
+ Details: Details,
+ LogFile: LogFile,
+ Port: Port,
+ Protocol: "ws",
+ Web: Web,
+ WebAddress: WebAddress,
106
+ WebPort: WebPort,
107
}
108
109
if Web {
110
web := &renderer.Web{
111
+ Address: WebAddress,
112
Port: WebPort,
113
StaticFiles: StaticFS,
114
RequestAddr: Address,
0 commit comments