in monitoring/src/utils/config-builder/config-builder.ts [10:33]
static construct(
stage: Stage,
jurisdiction: Jurisdiction,
region: AwsRegionOpt,
isRunningAdhoc: boolean,
platform: Stage
): Config | undefined {
const config: Config = {
stage: stage,
jurisdiction: jurisdiction,
frontUrl: this.getFrontUrl(stage),
articleUrl: this.getArticleUrl(stage),
ampArticle: this.getAmpUrl(stage),
iframeDomain: this.getIframeDomain(stage),
iframeDomainSecondLayer: this.getIframeDomainSecondLayer(stage),
checkFunction: this.getCheckFunction(jurisdiction),
region: region,
isRunningAdhoc: isRunningAdhoc,
debugMode: debugMode,
platform: platform
};
return config;
}