Skip to content

Commit

Permalink
[node-xmcloud-proxy] Set default PORT number to 3000 (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
illiakovalenko authored Sep 11, 2024
1 parent d30e424 commit a792e20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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!`.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

0 comments on commit a792e20

Please sign in to comment.