Skip to content
Snippets Groups Projects
Commit 8b9ed9df authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix root url on server side

parent 45ea5931
No related branches found
No related tags found
No related merge requests found
RocketChat.settings.onload 'Site_Url', (key, value, initialLoad) -> RocketChat.settings.get 'Site_Url', (key, value) ->
if value?.trim() isnt '' if value?.trim() isnt ''
__meteor_runtime_config__.ROOT_URL = value __meteor_runtime_config__.ROOT_URL = value
if Meteor.absoluteUrl.defaultOptions?.rootUrl? if Meteor.absoluteUrl.defaultOptions?.rootUrl?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment