diff --git a/packages/create-sitecore-jss/src/templates/angular-xmcloud/.env b/packages/create-sitecore-jss/src/templates/angular-xmcloud/.env index 0d13f68388..d76ee32482 100644 --- a/packages/create-sitecore-jss/src/templates/angular-xmcloud/.env +++ b/packages/create-sitecore-jss/src/templates/angular-xmcloud/.env @@ -8,7 +8,7 @@ SITECORE_EDGE_CONTEXT_ID= # ========== XM Cloud Proxy =========== # Your XM Cloud Proxy hostname is needed to build the app and execute the client-side requests against the proxy server. -PROXY_HOST=http://localhost:3001 +PROXY_HOST=http://localhost:3000 # Your XM Cloud Proxy server path is needed to build the app. The build output will be copied to the proxy server path. PROXY_BUILD_PATH=<%- locals.relativeProxyAppDestination.replace(/\\/g, '\\\\') %>dist diff --git a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/.env b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/.env index ed0d6422ef..a92a843a95 100644 --- a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/.env +++ b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/.env @@ -4,7 +4,7 @@ # We recommend an alphanumeric value of at least 16 characters. JSS_EDITING_SECRET= -# Your proxy port (default: 3001) +# Your proxy port (default: 3000) PROXY_PORT= # Your proxy server bundle path diff --git a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/README.md b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/README.md index 602e68934b..f64f04bf33 100644 --- a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/README.md +++ b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/README.md @@ -33,4 +33,4 @@ The following environment variables can be set to configure the Proxy sample ins 1. Run `npm run start` You should be able to see the following message: -`server listening on port 3001!`. +`server listening on port 3000!`. diff --git a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/src/config.ts b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/src/config.ts index 7af53b29a3..2c3f8d2c79 100644 --- a/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/src/config.ts +++ b/packages/create-sitecore-jss/src/templates/node-xmcloud-proxy/src/config.ts @@ -21,5 +21,5 @@ export const config: Config = { /** * Port which will be used when start the proxy */ - port: process.env.PROXY_PORT || 3001, + port: process.env.PROXY_PORT || 3000, };