lib/tunnels.rb in tunnels-1.0.0 vs lib/tunnels.rb in tunnels-1.1.0

- old
+ new

@@ -3,10 +3,10 @@ # most of code is from [thin-glazed](https://github.com/freelancing-god/thin-glazed). # Copyright © 2012, Thin::Glazed was a Rails Camp New Zealand project, and is developed and maintained by Pat Allan. It is released under the open MIT Licence. module Tunnels - def self.run!(host = '127.0.0.1', from = 443, to = 80) + def self.run!(host = '127.0.0.1', to = 80, from = 443) EventMachine.run do EventMachine.start_server(host, from, HttpsProxy, to) puts "Ready :)" end rescue => e