mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Removed redundant variable
This commit is contained in:
parent
2c9d967890
commit
cd6f54b714
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ class Kemal::Handler < HTTP::Handler
|
|||
@routes << Route.new(method, path, &handler)
|
||||
end
|
||||
|
||||
def exec_request(request)
|
||||
uri = request.resource
|
||||
def exec_request(request)
|
||||
components = request.path.not_nil!.split "/"
|
||||
@routes.each do |route|
|
||||
params = route.match(request.method, components)
|
||||
|
|
Loading…
Reference in a new issue