Permalink
Browse files

Enable wwwhisper authorization

  • Loading branch information...
1 parent 11af90c commit 6949e4f65aa5b39e1d36f0fefe21a7a360f83bf4 @wrr committed Apr 15, 2013
Showing with 3 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +1 −0 config/environments/production.rb
View
@@ -36,3 +36,5 @@ group :development, :test do
end
gem 'thin'
+
+gem 'rack-wwwhisper', '~> 1.0'
@@ -28,4 +28,5 @@
# config.threadsafe!
Migrator.offer_migration_when_available = true
+ config.middleware.insert 0, "Rack::WWWhisper"
end

0 comments on commit 6949e4f

Please sign in to comment.