Permalink
Browse files

move all static assets into public/

  • Loading branch information...
1 parent e8b1d34 commit 5b99dfbd665f7e35d96571d26d9101e1e2e14530 @stevenwilkin committed Jan 30, 2012
View
4 config.ru
@@ -2,7 +2,7 @@ require './lib/no_www'
use NoWWW
-use Rack::Static, :urls => ['/css', '/img'], :root => '.'
+use Rack::Static, :urls => ['/css', '/img'], :root => 'public'
run lambda { |env|
[
@@ -11,6 +11,6 @@ run lambda { |env|
'Content-Type' => 'text/html',
'Cache-Control' => 'public, max-age=86400'
},
- File.open('index.html', File::RDONLY)
+ File.open('public/index.html', File::RDONLY)
]
}
View
0 css/bootstrap.min.css → public/css/bootstrap.min.css
File renamed without changes.
View
0 css/style.css → public/css/style.css
File renamed without changes.
View
0 img/clamp.svg → public/img/clamp.svg
File renamed without changes.
View
0 index.html → public/index.html
File renamed without changes.

0 comments on commit 5b99dfb

Please sign in to comment.