Dont call setup in config#add_filter_handler. Fixes #338
This commit is contained in:
parent
732b3edbfd
commit
f511d21aa1
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ module Kemal
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_filter_handler(handler : HTTP::Handler)
|
def add_filter_handler(handler : HTTP::Handler)
|
||||||
setup
|
|
||||||
HANDLERS.insert HANDLERS.size - 1, handler
|
HANDLERS.insert HANDLERS.size - 1, handler
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue