mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Fix static file handler
This commit is contained in:
parent
e4da65f1f2
commit
85a383b328
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
require "http/server"
|
||||
require "ecr/macros"
|
||||
|
||||
class Kemal::StaticFileHandler < HTTP::Handler
|
||||
class Kemal::StaticFileHandler < HTTP::StaticFileHandler
|
||||
def call(request)
|
||||
request_path = request.path.not_nil!
|
||||
return call_next(request) if request_path == "/"
|
||||
|
|
Loading…
Reference in a new issue