From c70a7a1ac6278a0a5127d03a557e2e28b52023f0 Mon Sep 17 00:00:00 2001 From: Aniruddha Date: Sat, 21 Feb 2026 15:05:21 +0530 Subject: [PATCH 1/2] docs: fix YouTube capitalization typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 306b399c74901e0e457b3e36015c3d278acb99b1 Mon Sep 17 00:00:00 2001 From: Aniruddha Date: Sat, 21 Feb 2026 15:50:11 +0530 Subject: [PATCH 2/2] fix: add ROOT_URL fallback to getURL Updates the server-side getURL function to fallback to process.env.ROOT_URL when the Site_Url setting is not configured. This ensures valid URL generation during initial setup or in restricted environments where settings might be missing. Fixes #38867 --- apps/meteor/app/utils/server/getURL.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };