Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMullin <david.mcmullin@gmail.com>2012-11-18 13:55:10 +0400
committerDavid McMullin <david.mcmullin@gmail.com>2012-11-18 13:55:10 +0400
commit9678a1d4b2133141eb1f70e497a6329aff0ad531 (patch)
tree0cf56ce787a7a1a0fbbf90b28e30e55662c0f1fd /config.ru
parent9723c4abc9d554b64fe22b1541148ddc554f0e2c (diff)
add x-frame headers
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.ru b/config.ru
index bd250d89b..9603dbba3 100644
--- a/config.ru
+++ b/config.ru
@@ -14,4 +14,6 @@ if defined?(Unicorn)
end
use Rack::Deflater
use Rack::ChromeFrame, :minimum => 8
+use Rack::Protection::FrameOptions
+
run Diaspora::Application