We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623778c commit 138e2eaCopy full SHA for 138e2ea
spec/rack/reverse_proxy_spec.rb
@@ -162,7 +162,7 @@ def app
162
Rack::ReverseProxy.new(dummy_app) do
163
reverse_proxy_options :matching => :all
164
reverse_proxy '/test', 'http://example.com/'
165
- reverse_proxy /^\/test/, 'http://example.com/'
+ reverse_proxy(/^\/test/, 'http://example.com/')
166
end
167
168
@@ -176,7 +176,7 @@ def app
176
177
reverse_proxy_options :matching => :first
178
reverse_proxy '/test', 'http://example1.com/'
179
- reverse_proxy /^\/test/, 'http://example2.com/'
+ reverse_proxy(/^\/test/, 'http://example2.com/')
180
181
182
0 commit comments