Sha256: 3c2768154060e21025ecf49641d8beaa855b8517b59382028520d864aefe0d54

Contents?: true

Size: 296 Bytes

Versions: 7

Compression:

Stored size: 296 Bytes

Contents

require_relative 'rewritten'
require_relative '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

7 entries across 7 versions & 1 rubygems

Version Path
rewritten-0.8.0 lib/test.ru
rewritten-0.7.0 lib/test.ru
rewritten-0.6.0 lib/test.ru
rewritten-0.5.0 lib/test.ru
rewritten-0.4.0 lib/test.ru
rewritten-0.3.3 lib/test.ru
rewritten-0.3.2 lib/test.ru