Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 282 Bytes
require 'rubygems'
require 'bundler'
Bundler.setup
require 'rack-rewrite'
require 'rack/contrib'
use Rack::ETag
use Rack::ResponseHeaders do |headers|
headers['Cache-Control'] = 'public'
end
use Rack::Rewrite do
rewrite '/', '/index.html'
end
run Rack::Directory.new(Dir.pwd)
Something went wrong with that request. Please try again.