Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable wwwhisper authorization

  • Loading branch information...
commit 6949e4f65aa5b39e1d36f0fefe21a7a360f83bf4 1 parent 11af90c
@wrr authored
Showing with 3 additions and 0 deletions.
  1. +2 −0  Gemfile
  2. +1 −0  config/environments/production.rb
View
2  Gemfile
@@ -36,3 +36,5 @@ group :development, :test do
end
gem 'thin'
+
+gem 'rack-wwwhisper', '~> 1.0'
View
1  config/environments/production.rb
@@ -28,4 +28,5 @@
# config.threadsafe!
Migrator.offer_migration_when_available = true
+ config.middleware.insert 0, "Rack::WWWhisper"
end
Please sign in to comment.
Something went wrong with that request. Please try again.