Skip to content

Commit

Permalink
Add host authorization config for sinatra 4.1 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
aburgel authored Nov 25, 2024
1 parent 5a6f977 commit f31feaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-darwin-22
x86_64-linux

Expand Down
1 change: 1 addition & 0 deletions lib/webvalve/fake_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class FakeService < Sinatra::Base
set :dump_errors, false
set :show_exceptions, false
set :raise_errors, true
set :host_authorization, ->() { {} }

configure do
use Instrumentation::Middleware
Expand Down

0 comments on commit f31feaa

Please sign in to comment.