Fix failed build (omitted parentheses)

This commit is contained in:
Alex Ling 2020-06-09 14:54:23 +00:00
parent 5cd6f3eacb
commit 156e511d4a

View File

@ -63,8 +63,8 @@ class AuthHandler < Kemal::Handler
end
def handle_auth(env)
if request_path_startswith env, ["/login", "/logout"] ||
requesting_static_file env
if request_path_startswith(env, ["/login", "/logout"]) ||
requesting_static_file env
return call_next(env)
end