diff --git a/src/config/config.server.ts b/src/config/config.server.ts index 69825b64092..3cbce3a42bc 100644 --- a/src/config/config.server.ts +++ b/src/config/config.server.ts @@ -236,6 +236,7 @@ export const buildAppConfig = (destConfigPath?: string): AppConfig => { appConfig.rest.port = isNotEmpty(ENV('REST_PORT', true)) ? getNumberFromString(ENV('REST_PORT', true)) : appConfig.rest.port; appConfig.rest.nameSpace = isNotEmpty(ENV('REST_NAMESPACE', true)) ? ENV('REST_NAMESPACE', true) : appConfig.rest.nameSpace; appConfig.rest.ssl = isNotEmpty(ENV('REST_SSL', true)) ? getBooleanFromString(ENV('REST_SSL', true)) : appConfig.rest.ssl; + appConfig.rest.ssrBaseUrl = isNotEmpty(ENV('REST_SSRBASEURL', true)) ? ENV('REST_SSRBASEURL', true) : appConfig.rest.ssrBaseUrl; // apply build defined production appConfig.production = env === 'production';