Remove unnecessary HelloWorld config field

This commit is contained in:
Matthew Holt 2018-02-24 16:15:31 -07:00
parent 3e6e389e1f
commit 0b3cbb5eaf
2 changed files with 1 additions and 7 deletions

View File

@ -398,7 +398,6 @@ func startServer(c *cli.Context) {
errC <- warp.StartServer(warp.ServerConfig{
Hostname: c.String("hostname"),
ServerURL: validURL,
HelloWorld: c.IsSet("hello-world"),
Tags: tags,
OriginCert: c.String("origincert"),

View File

@ -130,15 +130,10 @@ type ServerConfig struct {
// Required.
Hostname string
// The URL of the local web server. If empty (if there
// is no server), set HelloWorld to true for a demo.
// The URL of the local web server.
// Required.
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.
ClientID string