Fix problem with ddp connection from some urls

pull/2647/head
Rodrigo Nascimento 9 years ago
parent 28aa767774
commit eed1fda9cc
  1. 2
      packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee

@ -4,7 +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

Loading…
Cancel
Save