Skip to content

Commit

Permalink
chore: change default 'icmBaseURL' to a dedicated ICM demo server ins…
Browse files Browse the repository at this point in the history
…tead of the public PWA demo ICM server
  • Loading branch information
shauke committed Jan 7, 2021
1 parent 3bffb9a commit 7e357ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/pwa-building-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Deployment without using nginx is theoretically possible, even though many usefu
## Hiding the ICM Backend

For security reasons, it may be desirable to hide the backend adress and prevent direct access to it.
For security reasons, it may be desirable to hide the backend address and prevent direct access to it.
The Intershop PWA supports this functionality and the [default deployment](https://intershoppwa.azurewebsites.net/home) uses this feature.
To enable it, set the `PROXY_ICM` environment variable on the [SSR container](../guides/ssr-startup.md) to a new URL.
Instead of directing REST calls straight to the ICM (see step seven in the [Default Production Deployment](#default-production-deployment)), traffic is routed through the SSR container.
Expand Down
2 changes: 1 addition & 1 deletion scripts/init-local-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const environment: Environment = {
serviceWorker: false,
defaultDeviceType: 'desktop',
icmBaseURL: 'https://intershoppwa.azurewebsites.net',
icmBaseURL: 'https://pwa-ish-demo.test.intershop.com',
icmChannel: b2b ? 'inSPIRED-inTRONICS_Business-Site' : 'inSPIRED-inTRONICS-Site',
theme: b2b ? 'blue' : 'default',
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export const environment: Environment = {
serviceWorker: false,

/* INTERSHOP COMMERCE MANAGEMENT REST API CONFIGURATION */
icmBaseURL: 'https://intershoppwa.azurewebsites.net',
icmBaseURL: 'https://pwa-ish-demo.test.intershop.com',
};
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ export const environment: Environment = {
...ENVIRONMENT_DEFAULTS,

/* INTERSHOP COMMERCE MANAGEMENT REST API CONFIGURATION */
icmBaseURL: 'https://intershoppwa.azurewebsites.net',
icmBaseURL: 'https://pwa-ish-demo.test.intershop.com',
};

0 comments on commit 7e357ac

Please sign in to comment.