Sha256: 5d5266335ec83eab082e36211f193fbf3e5fcfb520754128e91caf12b85a08b9

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

require 'rubygems'
require 'rack'
require 'rewritten'
require 'rewritten/server'

map "/" do
  #use Rack::Rewritten::Record
  use Rack::Rewritten::Subdomain, "doxter.de", "lvh.me"
  use Rack::Rewritten::Url
  use Rack::Rewritten::Html
  run Rack::Dummy.new
end

map "/rewritten" do
  run Rewritten::Server
end


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rewritten-0.3.1 lib/test.ru
rewritten-0.3.0 lib/test.ru
rewritten-0.2.2 lib/test.ru
rewritten-0.2.1 lib/test.ru
rewritten-0.2.0 lib/test.ru