mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Bind host to 0.0.0.0
This commit is contained in:
		
							parent
							
								
									2ffb4dccdf
								
							
						
					
					
						commit
						bee7ce2452
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -17,7 +17,7 @@ at_exit do | ||||||
|   config.add_handler Kemal::Handler::INSTANCE |   config.add_handler Kemal::Handler::INSTANCE | ||||||
|   config.add_handler HTTP::StaticFileHandler.new("./public") |   config.add_handler HTTP::StaticFileHandler.new("./public") | ||||||
| 
 | 
 | ||||||
|   server = HTTP::Server.new(config.port, config.handlers) |   server = HTTP::Server.new("0.0.0.0", config.port, config.handlers) | ||||||
|   server.ssl = config.ssl |   server.ssl = config.ssl | ||||||
|   logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n" |   logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue