mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Replace beryl with f/radix
This commit is contained in:
		
							parent
							
								
									fa1c039f4a
								
							
						
					
					
						commit
						e223940e5e
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -2,8 +2,8 @@ name: kemal | |||
| version: 0.7.0 | ||||
| 
 | ||||
| dependencies: | ||||
|   beryl: | ||||
|     github: luislavena/beryl | ||||
|   radix: | ||||
|     github: f/radix | ||||
| 
 | ||||
| author: | ||||
|   - Serdar Dogruyol <dogruyolserdar@gmail.com> | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| require "http/server" | ||||
| require "beryl/beryl/routing/tree" | ||||
| require "radix" | ||||
| 
 | ||||
| # Kemal::Handler is the main handler which handles all the HTTP requests. Routing, parsing, rendering e.g | ||||
| # are done in this handler. | ||||
|  | @ -8,7 +8,7 @@ class Kemal::Handler < HTTP::Handler | |||
|   INSTANCE = new | ||||
| 
 | ||||
|   def initialize | ||||
|     @tree = Beryl::Routing::Tree.new | ||||
|     @tree = Radix::Tree.new | ||||
|   end | ||||
| 
 | ||||
|   def call(context) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue