Skip to content

Commit b79a08a

Browse files
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into develop
2 parents d07ba6a + 8887f05 commit b79a08a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/rocketchat-lib/lib/startup/settingsOnLoadSiteUrl.coffee

+4
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ RocketChat.settings.get 'Site_Url', (key, value) ->
1010

1111
if Meteor.isServer
1212
RocketChat.hostname = url.parse(value).hostname
13+
14+
process.env.MOBILE_ROOT_URL = value
15+
process.env.MOBILE_DDP_URL = value
16+
# WebAppInternals.generateBoilerplate()

0 commit comments

Comments
 (0)