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
|
@ -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