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

Version Path
middleman-presentation-core-0.17.7 templates/rackup.config.erb
middleman-presentation-core-0.17.6 templates/rackup.config.erb
middleman-presentation-core-0.17.5 templates/rackup.config.erb
middleman-presentation-core-0.17.2 templates/rackup.config.erb
middleman-presentation-core-0.17.1 templates/rackup.config.erb
middleman-presentation-core-0.17.0 templates/rackup.config.erb
middleman-presentation-core-0.16.3 templates/rackup.config.erb
middleman-presentation-core-0.16.2 templates/rackup.config.erb
middleman-presentation-core-0.16.0 templates/rackup.config.erb
middleman-presentation-core-0.16.0.rc2 templates/rackup.config.erb
middleman-presentation-core-0.16.0.rc1 templates/rackup.config.erb
middleman-presentation-core-0.16.0.beta templates/rackup.config.erb
middleman-presentation-core-0.16.0.alpha templates/rackup.config.erb