lib/sitehub/core.rb in sitehub-0.5.0.alpha11 vs lib/sitehub/core.rb in sitehub-0.5.0.alpha12
- old
+ new
@@ -17,10 +17,10 @@
extend CollectionMethods
sitehub_cookie_name config[:sitehub_cookie_name] if config[:sitehub_cookie_name]
sitehub_cookie_path config[:sitehub_cookie_path] if config[:sitehub_cookie_path]
collection!(config, :proxies).each do |proxy|
- mappings.add_route candidate_routes: CandidateRoutes.from_hash(proxy, sitehub_cookie_name, sitehub_cookie_path )
+ mappings.add_route candidate_routes: CandidateRoutes.from_hash(proxy, sitehub_cookie_name, sitehub_cookie_path)
end
collection(config, :reverse_proxies).each do |proxy|
reverse_proxy proxy[:downstream_url] => proxy[:path]
end