mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Hub must be called with https
This commit is contained in:
parent
917546d43b
commit
53a463d7c1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue