mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Macros spec passing
This commit is contained in:
parent
d1f95c0f39
commit
4dd027eb96
2 changed files with 31 additions and 33 deletions
|
@ -32,8 +32,6 @@ class Kemal::Handler < HTTP::Handler
|
|||
if route.match?(context.request)
|
||||
begin
|
||||
body = route.handler.call(context).to_s
|
||||
# context.response.status_code = 200
|
||||
# context.response.content_type = "text/html"
|
||||
context.response.print body
|
||||
return context
|
||||
rescue ex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue