Skip to content

Commit

Permalink
Merge pull request #2529 from RocketChat/improvements/ddp_mobile_url
Browse files Browse the repository at this point in the history
Set DDP_DEFAULT_CONNECTION_URL to the same value of ROOT_URL
  • Loading branch information
engelgabriel committed Mar 17, 2016
2 parents 6c24ab8 + fec8fec commit b172122
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if Meteor.isServer
RocketChat.settings.get 'Site_Url', (key, value) ->
if value?.trim() isnt ''
__meteor_runtime_config__.ROOT_URL = value
__meteor_runtime_config__.DDP_DEFAULT_CONNECTION_URL = value
if Meteor.absoluteUrl.defaultOptions?.rootUrl?
Meteor.absoluteUrl.defaultOptions.rootUrl = value

Expand Down

0 comments on commit b172122

Please sign in to comment.