Sha256: 10159e463a82ca11d590b69be64bd8ca958990327396d54583305c244229dbcc
Contents?: true
Size: 387 Bytes
Versions: 13
Compression:
Stored size: 387 Bytes
Contents
# encoding: utf-8 use Rack::Static, :urls => ['/<%= @images_directory %>', '/<%= @stylesheets_directory %>', '/<%= @javascripts_directory %>', '/<%= @fonts_directory %>'], :root => File.expand_path('.') run lambda { |env| [ 200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open(File.expand_path('index.html'), File::RDONLY) ] }
Version data entries
13 entries across 13 versions & 1 rubygems