Hub must be called with https

This commit is contained in:
Neil Lalonde 2016-03-02 17:50:42 -05:00
parent 917546d43b
commit 53a463d7c1

View file

@ -42,7 +42,7 @@ module DiscourseHub
def self.hub_base_url
if Rails.env.production?
'http://api.discourse.org/api'
'https://api.discourse.org/api'
else
ENV['HUB_BASE_URL'] || 'http://local.hub:3000/api'
end