use Adamantium::Middleware::HeaderFix do |headers, env|
if env["REQUEST_METHOD"] == "HEAD"
# if env["REQUEST_METHOD"] == "HEAD"
headers['Content-Type'] = "text/html"
end
# end
end
run Hanami.app
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.