Update 'README.md'

This commit is contained in:
Yessiest 2023-09-10 16:18:19 +00:00
parent bc8750daf7
commit 20559149eb
1 changed files with 1 additions and 1 deletions

View File

@ -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"