Skip to content

Commit

Permalink
add x-frame headers
Browse files Browse the repository at this point in the history
  • Loading branch information
francesmcmullin committed Nov 18, 2012
1 parent 9723c4a commit 9678a1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ gem 'rails_autolink', '1.0.9'

gem 'rack-cors', '0.2.7', :require => 'rack/cors'

# click-jacking protection

gem 'rack-protection', '1.2'

# authentication

gem 'devise', '2.1.2'
Expand Down
2 changes: 2 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ if defined?(Unicorn)
end
use Rack::Deflater
use Rack::ChromeFrame, :minimum => 8
use Rack::Protection::FrameOptions

run Diaspora::Application

0 comments on commit 9678a1d

Please sign in to comment.