Revert message bus upgrade

This commit is contained in:
Sam
2015-12-09 11:44:38 +11:00
parent d8795a5345
commit 47e718f5b2
38 changed files with 84 additions and 101 deletions
-14
View File
@@ -1,14 +0,0 @@
# tiny middleware to force https if needed
class Discourse::ForceHttpsMiddleware
def initialize(app, config={})
@app = app
end
def call(env)
env['rack.url_scheme'] = 'https' if SiteSetting.use_https
@app.call(env)
end
end