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…
Reference in a new issue