forked from coolaj86/goldilocks.js
		
	run http on standard port 80
This commit is contained in:
		
							parent
							
								
									77c0fa3c7d
								
							
						
					
					
						commit
						24250f82d8
					
				@ -177,7 +177,7 @@ function createServer(port, pubdir, content, opts) {
 | 
			
		||||
        server2.watch(pubdir);
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      if ('false' !== opts.insecurePort && httpPort !== opts.insecurePort) {
 | 
			
		||||
      if ('false' !== opts.insecurePort && httpPort === opts.insecurePort) {
 | 
			
		||||
        return createInsecureServer(opts.insecurePort, pubdir, opts).then(function (_server) {
 | 
			
		||||
          insecureServer = _server;
 | 
			
		||||
          resolve();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user