diff --git a/packages/create-sitecore-jss/src/templates/angular/scripts/generate-config.ts b/packages/create-sitecore-jss/src/templates/angular/scripts/generate-config.ts index e5cad3e9d2..e72656e6fd 100644 --- a/packages/create-sitecore-jss/src/templates/angular/scripts/generate-config.ts +++ b/packages/create-sitecore-jss/src/templates/angular/scripts/generate-config.ts @@ -50,7 +50,7 @@ let config = {};\n`; // Set base configuration values, allowing override with environment variables Object.keys(config).forEach((prop) => { - configText += `config.${prop} = process.env.${constantCase(prop)} || "${config[prop]}",\n`; + configText += `config.${prop} = process.env.${constantCase(prop)} || "${config[prop]}";\n`; }); // Set computed values, allowing override with environment variables Object.keys(computedConfig).forEach((prop) => {