exe/wovnrp in wovn-reverse_proxy-0.0.1 vs exe/wovnrp in wovn-reverse_proxy-0.1.0
- old
+ new
@@ -1,8 +1,14 @@
#!/usr/bin/env ruby
# -*- mode: ruby -*-
# vi: set ft=ruby :
+require 'rack'
require 'wovn/reverse_proxy'
-Wovn::ReverseProxy::Application.run!
+Rack::Server.start(
+ app: Wovn::ReverseProxy::Wovnrb.new(
+ Wovn::ReverseProxy::RackReverseProxy.new
+ ),
+ Port: 4567
+)