Skip to content

Commit

Permalink
Merge pull request #369 from desertcart/master
Browse files Browse the repository at this point in the history
Match index route without trailing /
  • Loading branch information
danmayer committed Mar 28, 2020
2 parents fd84f0e + 04bd89e commit 16f5507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/coverband/reporters/web.rb
Expand Up @@ -31,7 +31,8 @@ def call(env)
@request = Rack::Request.new(env)

return [401, { 'www-authenticate' => 'Basic realm=""' }, ['']] unless check_auth


request.path_info = (request.path_info == "") ? "/" : request.path_info
if request.post?
case request.path_info
when %r{\/clear_view_tracking_file}
Expand Down

0 comments on commit 16f5507

Please sign in to comment.