Sha256: a80c7697fab8440cb32bc7059fff313ba19f4b320f5736683c6d1eda6b808e3d

Contents?: true

Size: 211 Bytes

Versions: 89

Compression:

Stored size: 211 Bytes

Contents

require 'rack/contrib/try_static'
require 'rack/contrib/not_found'
 
use Rack::TryStatic,
  :root => "_site",
  :urls => %w[/],
  :try  => ['index.html', '/index.html']
 
run Rack::NotFound.new('_site/404.html')

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
atlas_assets-0.8.13 config.ru
atlas_assets-0.8.12 config.ru
atlas_assets-0.8.11 config.ru
atlas_assets-0.8.10 config.ru
atlas_assets-0.8.9 config.ru
atlas_assets-0.8.8 config.ru
atlas_assets-0.8.7 config.ru
atlas_assets-0.8.6 config.ru
atlas_assets-0.8.5 config.ru
atlas_assets-0.8.4 config.ru
atlas_assets-0.8.3 config.ru
atlas_assets-0.8.2 config.ru
atlas_assets-0.8.1 config.ru
atlas_assets-0.8.0 config.ru
atlas_assets-0.7.3 config.ru
atlas_assets-0.7.2 config.ru
atlas_assets-0.7.1 config.ru
atlas_assets-0.7.0 config.ru
atlas_assets-0.6.10 config.ru
atlas_assets-0.6.9 config.ru