From 166a8d29328a0313b9a071172a9ac70d198d9470 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 10 Jan 2014 13:51:02 +1100 Subject: [PATCH] don't insert middleware its a problem --- config/initializers/50-force_https.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/50-force_https.rb b/config/initializers/50-force_https.rb index 161bc8cc4..126c8b9d4 100644 --- a/config/initializers/50-force_https.rb +++ b/config/initializers/50-force_https.rb @@ -12,6 +12,6 @@ class Discourse::ForceHttpsMiddleware end - -Rails.configuration.middleware.insert_before MessageBus::Rack::Middleware, Discourse::ForceHttpsMiddleware +# this code plays up, skip for now +#Rails.configuration.middleware.insert_before MessageBus::Rack::Middleware, Discourse::ForceHttpsMiddleware