Sha256: 74e3d3e9b7d33c45db3b2d6e9ff6528befd88aadd788ef02ad1ce3ee913748ee

Contents?: true

Size: 311 Bytes

Versions: 20

Compression:

Stored size: 311 Bytes

Contents

# Rack config

# Look for index files in folders like Apache
require "rack/contrib/try_static"
use Rack::TryStatic, :root => "build", :urls => %w[/], :try => ['.html', 'index.html', '/index.html']

# Cache static assets
require "rack/contrib/static_cache"
use Rack::StaticCache, :urls => ['/'], :root => 'build'

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
middleman-blog-0.1.5 lib/middleman-blog/template/config.ru
middleman-blog-0.1.4 lib/middleman-blog/template/config.ru
middleman-blog-0.1.3 lib/middleman-blog/template/config.ru
middleman-blog-0.1.2 lib/middleman-blog/template/config.ru
middleman-blog-0.1.0 lib/middleman-blog/template/config.ru
middleman-2.0.2 lib/middleman/templates/blog/config.ru
middleman-2.0.1.1 lib/middleman/templates/blog/config.ru
middleman-2.0.1 lib/middleman/templates/blog/config.ru
middleman-2.0.0.3 lib/middleman/templates/blog/config.ru
middleman-2.0.0.2 lib/middleman/templates/blog/config.ru
middleman-2.0.0.1 lib/middleman/templates/blog/config.ru
middleman-2.0.0 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc99 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc98 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc97 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc96 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc95 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc93 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc92 lib/middleman/templates/blog/config.ru
middleman-2.0.0.rc91 lib/middleman/templates/blog/config.ru