Skip to content

Commit

Permalink
Herokuizification.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelstrom committed Dec 23, 2010
1 parent b311de4 commit 7d382de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gems
@@ -0,0 +1,3 @@
rack-contrib
rack-rewrite

9 changes: 9 additions & 0 deletions config.ru
@@ -0,0 +1,9 @@
require "rubygems"
require 'rack/contrib'
require 'rack-rewrite'

use Rack::Static, :urls => ['/images'], :root => "public"
use Rack::Rewrite do
rewrite '/', '/index.html'
end
run Rack::Directory.new('public')

0 comments on commit 7d382de

Please sign in to comment.