Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 269 Bytes
use Rack::Static,
:urls => [ "/stylesheets", "/images", "/javascripts" ],
:root => "public"
run lambda { |env|
[
200,
{'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' },
File.open('public/index.html', File::RDONLY)
]
}