lib/config.ru in shining-1.2.0 vs lib/config.ru in shining-1.3.0
- old
+ new
@@ -1,4 +1,10 @@
-use Rack::Static, :root => File.dirname(__FILE__), :urls => %w(/vendor/css /vendor/lib /slides /config.json /vendor/themes)
-run lambda { |env|
- [200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, [File.read('index.html')]]
+use Rack::Static,
+ :root => File.dirname(__FILE__),
+ :urls => %w(/vendor/css /vendor/lib /slides /config.json /vendor/themes)
+run lambda { |env|
+ [
+ 200,
+ { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' },
+ [File.read('index.html')]
+ ]
}