Permalink
Browse files

Update config.ru to run Sinatra app.

  • Loading branch information...
1 parent 39f0074 commit a40fe9a572750f77fa11bb0d1d98c363c8be6b29 @nelstrom committed Jan 27, 2011
Showing with 5 additions and 8 deletions.
  1. +5 −8 config.ru
View
@@ -1,9 +1,6 @@
-require "rubygems"
-require 'rack/contrib'
-require 'rack-rewrite'
+require File.join(File.dirname(__FILE__), 'application')
-use Rack::Static, :urls => ['/images'], :root => "public"
-use Rack::Rewrite do
- rewrite '/', '/index.html'
-end
-run Rack::Directory.new('public')
+set :run, false
+set :environment, :production
+
+run Sinatra::Application

0 comments on commit a40fe9a

Please sign in to comment.