Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tidy up config.ru file.

  • Loading branch information...
commit e00b483b8dc1ec1953240a7c050691678e3da578 1 parent 3d18466
@nelstrom authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 config.ru
View
7 config.ru
@@ -1,8 +1,7 @@
-require "rubygems"
+require 'rubygems'
require 'rack/rewrite'
-use Rack::Rewrite do
- rewrite '/', '/index.html'
-end
+use Rack::Rewrite { rewrite '/', '/index.html' }
use Rack::Static, :urls => ['/'], :root => "public"
+
run Rack::Directory.new('public')
Please sign in to comment.
Something went wrong with that request. Please try again.