diff --git a/README.md b/README.md index f663b0113e1a0..51c049b0fcfee 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ We're hiring developers, technical support, and product managers all the time. C - [Twitter](https://twitter.com/RocketChat) - [Facebook](https://www.facebook.com/RocketChatApp) - [LinkedIn](https://www.linkedin.com/company/rocket-chat) -- [Youtube](https://www.youtube.com/channel/UCin9nv7mUjoqrRiwrzS5UVQ) +- [YouTube](https://www.youtube.com/channel/UCin9nv7mUjoqrRiwrzS5UVQ) # 🗒️ Credits diff --git a/apps/meteor/app/utils/server/getURL.ts b/apps/meteor/app/utils/server/getURL.ts index 4703569736add..936b754f4cca7 100644 --- a/apps/meteor/app/utils/server/getURL.ts +++ b/apps/meteor/app/utils/server/getURL.ts @@ -13,7 +13,7 @@ export const getURL = function ( cloudDeepLinkUrl?: string, ): string { const cdnPrefix = settings.get('CDN_PREFIX') || ''; - const siteUrl = settings.get('Site_Url') || ''; + const siteUrl = settings.get('Site_Url') || process.env.ROOT_URL || ''; return getURLWithoutSettings(path, params, cdnPrefix, siteUrl, cloudDeepLinkUrl); };