mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	v0.17.0
This commit is contained in:
		
							parent
							
								
									bf9adfbbab
								
							
						
					
					
						commit
						f11b0e07e4
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -38,7 +38,7 @@ module Kemal | |||
|       # This route serves the built-in images for not_found and exceptions. | ||||
|       get "/__kemal__/:image" do |env| | ||||
|         image = env.params.url["image"] | ||||
|         file_path = File.expand_path("libs/kemal/images/#{image}", Dir.current) | ||||
|         file_path = File.expand_path("lib/kemal/images/#{image}", Dir.current) | ||||
|         if File.exists? file_path | ||||
|           send_file env, file_path | ||||
|         end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue