Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (2 sloc) 225 Bytes
use Rack::Static, :urls => ["/css", "/images", "/js"], :root => "public"
run lambda { |env| [200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open('public/index.html', File::RDONLY)] }