Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pin version of rack and disable loading files

  • Loading branch information...
commit b99432bdc105bc8ab98cecb7c9a20fd78b78f2ba 1 parent 7412a8b
Gareth Rushgrove garethr authored
Showing with 5 additions and 6 deletions.
  1. +1 −1  Gemfile
  2. +2 −2 Gemfile.lock
  3. +2 −3 config.ru
2  Gemfile
View
@@ -3,7 +3,7 @@ source 'https://gems.gemfury.com/vo6ZrmjBQu5szyywDszE/'
gem 'slimmer'
gem "jekyll"
-gem 'rack'
+gem 'rack', '1.3.5'
gem 'rake', '0.9.2'
gem "term-ansicolor"
gem "rack-contrib"
4 Gemfile.lock
View
@@ -23,7 +23,7 @@ GEM
nokogiri (1.5.2)
null_logger (0.0.1)
posix-spawn (0.3.6)
- rack (1.4.1)
+ rack (1.3.5)
rack-contrib (1.1.0)
rack (>= 0.9.1)
rake (0.9.2)
@@ -40,7 +40,7 @@ PLATFORMS
DEPENDENCIES
jekyll
- rack
+ rack (= 1.3.5)
rack-contrib
rake (= 0.9.2)
router-client (= 2.0.3)
5 config.ru
View
@@ -15,7 +15,6 @@ map "/designprinciples/styleguide" do
run Rack::File.new("_site/styleguide.html")
end
-use Rack::TryStatic, root: "_site/", urls: %w[/], :try => ['.html', 'index.html', '/index.html']
-
+#use Rack::TryStatic, root: "_site/", urls: %w[/], :try => ['.html', 'index.html', '/index.html']
# otherwise 404 NotFound
-run lambda { [404, {'Content-Type' => 'text/plain'}, ['whoops! Not Found']] }
+#run lambda { [404, {'Content-Type' => 'text/plain'}, ['whoops! Not Found']] }
Please sign in to comment.
Something went wrong with that request. Please try again.