Browse files

added a config.ru for rack/local dev

  • Loading branch information...
1 parent a88bab3 commit be62711f5c6aa222eb3295cc395cb2d4e8465494 @okor okor committed Aug 29, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 config.ru
View
2 config.ru
@@ -0,0 +1,2 @@
+use Rack::Static, :urls => ["/css", "/images", "/js", "/views"], :root => "."
+run lambda { |env| [200, { 'Content-Type' => 'text/html' }, File.open('index.html', File::RDONLY)] }

0 comments on commit be62711

Please sign in to comment.