mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Don't overried env unless KEMAL_ENV is explicily set
This commit is contained in:
		
							parent
							
								
									6280af2e40
								
							
						
					
					
						commit
						0a11a1aee9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -50,7 +50,7 @@ module Kemal | |||
|     end | ||||
| 
 | ||||
|     def read_env | ||||
|       @config.env = ENV.fetch("KEMAL_ENV", "development") | ||||
|       @config.env = ENV["KEMAL_ENV"] if ENV.has_key?("KEMAL_ENV") | ||||
|     end | ||||
|   end | ||||
| end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue