Skip to content

Commit

Permalink
Use Rack::Request#fullpath to display the request's query params.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Aug 20, 2024
1 parent 27dcb7b commit 77d1782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ronin/web/cli/commands/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def run
App.public_dir = options[:root]
else
App.any('*') do
puts "#{request.request_method} #{request.path}"
puts "#{request.request_method} #{request.fullpath}"

request.headers.each do |name,value|
puts "#{name}: #{value}"
Expand Down

0 comments on commit 77d1782

Please sign in to comment.