mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-25 06:11:20 -04: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…
Add table
Reference in a new issue