Skip to content

Commit bd0da83

Browse files
committed
Rack 3 update: Disable host authorization feature
1 parent 51176b3 commit bd0da83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sinatra/vcap.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def vcap_configure(opts={})
7070
set(:show_exceptions, false)
7171
set(:raise_errors, false)
7272
set(:dump_errors, false)
73+
set(:host_authorization, permitted_hosts: [])
7374
end
7475

7576
configure :development do

0 commit comments

Comments
 (0)