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); };