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{
 | 
			
		||||
			Hostname:   c.String("hostname"),
 | 
			
		||||
			ServerURL:  validURL,
 | 
			
		||||
			HelloWorld: c.IsSet("hello-world"),
 | 
			
		||||
			Tags:       tags,
 | 
			
		||||
			OriginCert: c.String("origincert"),
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue