REVERT: message bus changes

This commit is contained in:
Robin Ward
2015-12-08 15:32:31 -05:00
parent d22a479c61
commit 4820d5c7b0
38 changed files with 84 additions and 95 deletions

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