diff --git a/README.md b/README.md index 20768a7..0a82c81 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ app = Hyde::Server.new do path "important" do preprocess do |req| # Implement logging logic here - puts "Client at #{req.headers['REMOTE_ADDR']} wanted to access something /important!" + puts "Client at #{req.headers['remote-addr']} wanted to access something /important!" end get "answer" do header "content-type", "application/json"