Sha256: c6d3f9f5685e218c9588c7f372b25869170f48da5fcdad1fb19dc4d455d39db2

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

use Rack::Static, 
  :urls => ["/audio", "/video", "/code", "/images", "/js", "/css", "/lib", "/plugin"],
  :root => ".tmp"

run lambda { |env|
  [
    200, 
    {
      'Content-Type'  => 'text/html', 
      'Cache-Control' => 'public, max-age=86400' 
    },
    File.open('.tmp/index.html', File::RDONLY)
  ]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slide_hero-0.0.7 config.ru
slide_hero-0.0.6 config.ru
slide_hero-0.0.5 config.ru
slide_hero-0.0.4 config.ru
slide_hero-0.0.3 config.ru