Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[node-xmcloud-proxy] Set default PORT number to 3000 #1925

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
};
Loading