Permalink
Browse files

Switch back to "/" as sole URL.

  • Loading branch information...
1 parent 8c4e36a commit 47666976597dd1a314ba330e0ff98c591e0e30ce @nelstrom committed Mar 25, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 config.ru
View
@@ -1,8 +1,8 @@
require "rubygems"
require 'rack/rewrite'
-use Rack::Static, :urls => {'/' => 'index.html'}, :root => "public"
-#use Rack::Rewrite do
- #rewrite '/', '/index.html'
-#end
+use Rack::Static, :urls => ['/'], :root => "public"
+use Rack::Rewrite do
+ rewrite '/', '/index.html'
+end
run Rack::Directory.new('public')

0 comments on commit 4766697

Please sign in to comment.