mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REVERT: message bus changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user