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:
authorBenjamin Neff <benjamin@coding4coffee.ch>2016-03-14 03:56:42 +0300
committerJonne Haß <me@jhass.eu>2016-03-21 16:04:24 +0300
commitd97448e5523f1a8614fe9297356ecfabbc4d1360 (patch)
tree25d893ca6c1041dd37672f8130671a4ef786fd6d /config.ru
parent6ea8cd546e08fbcdfe46576b9e210ac1533eb36f (diff)
remove ChromeFrame
Google Chrome Frame was a plugin for Internet Explorer, but is no longer supported. And it was included with http and not https which triggered a warning on most pods. Also set the minimum version to 9 to support #6557 closes #6751
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.ru b/config.ru
index 9603dbba3..e25248600 100644
--- a/config.ru
+++ b/config.ru
@@ -1,19 +1,19 @@
- # Copyright (c) 2010-2011, Diaspora Inc. This file is
+# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
# This file is used by Rack-based servers to start the application.
-require ::File.expand_path('../config/environment', __FILE__)
-require ::File.expand_path('../lib/unicorn_killer', __FILE__)
-require ::File.expand_path('../lib/rack/chrome_frame', __FILE__)
+require ::File.expand_path("../config/environment", __FILE__)
+require ::File.expand_path("../lib/unicorn_killer", __FILE__)
+require ::File.expand_path("../lib/rack/internet_explorer_version", __FILE__)
-# Kill unicorn workers really agressively (at 300mb)
+# Kill unicorn workers really aggressively (at 300mb)
if defined?(Unicorn)
use UnicornKiller::Oom, 300 * 1024
end
use Rack::Deflater
-use Rack::ChromeFrame, :minimum => 8
+use Rack::InternetExplorerVersion, minimum: 9
use Rack::Protection::FrameOptions
run Diaspora::Application