Remove unnecessary HelloWorld config field
This commit is contained in:
parent
3e6e389e1f
commit
0b3cbb5eaf
|
@ -398,7 +398,6 @@ func startServer(c *cli.Context) {
|
||||||
errC <- warp.StartServer(warp.ServerConfig{
|
errC <- warp.StartServer(warp.ServerConfig{
|
||||||
Hostname: c.String("hostname"),
|
Hostname: c.String("hostname"),
|
||||||
ServerURL: validURL,
|
ServerURL: validURL,
|
||||||
HelloWorld: c.IsSet("hello-world"),
|
|
||||||
Tags: tags,
|
Tags: tags,
|
||||||
OriginCert: c.String("origincert"),
|
OriginCert: c.String("origincert"),
|
||||||
|
|
||||||
|
|
|
@ -130,15 +130,10 @@ type ServerConfig struct {
|
||||||
// Required.
|
// Required.
|
||||||
Hostname string
|
Hostname string
|
||||||
|
|
||||||
// The URL of the local web server. If empty (if there
|
// The URL of the local web server.
|
||||||
// is no server), set HelloWorld to true for a demo.
|
|
||||||
// Required.
|
// Required.
|
||||||
ServerURL string
|
ServerURL string
|
||||||
|
|
||||||
// If true, use the established tunnel to expose a
|
|
||||||
// test HTTP server. If false, ServerURL must be set.
|
|
||||||
HelloWorld bool
|
|
||||||
|
|
||||||
// The tunnel ID; leave blank to use a random ID.
|
// The tunnel ID; leave blank to use a random ID.
|
||||||
ClientID string
|
ClientID string
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue