mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Hub must be called with https
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user