Skip to content

Commit 6f4c386

Browse files
committed
[DURACOM-288] Add convention SSR REST environment variable
1 parent d738851 commit 6f4c386

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/config/config.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ export const buildAppConfig = (destConfigPath?: string): AppConfig => {
227227
appConfig.rest.port = isNotEmpty(ENV('REST_PORT', true)) ? getNumberFromString(ENV('REST_PORT', true)) : appConfig.rest.port;
228228
appConfig.rest.nameSpace = isNotEmpty(ENV('REST_NAMESPACE', true)) ? ENV('REST_NAMESPACE', true) : appConfig.rest.nameSpace;
229229
appConfig.rest.ssl = isNotEmpty(ENV('REST_SSL', true)) ? getBooleanFromString(ENV('REST_SSL', true)) : appConfig.rest.ssl;
230+
appConfig.rest.ssrBaseUrl = isNotEmpty(ENV('REST_SSRBASEURL', true)) ? ENV('REST_SSRBASEURL', true) : appConfig.rest.ssrBaseUrl;
230231

231232
// apply build defined production
232233
appConfig.production = env === 'production';

0 commit comments

Comments
 (0)