diff --git a/README.md b/README.md index 554b6fb..9b29eb7 100644 --- a/README.md +++ b/README.md @@ -285,4 +285,9 @@ systemctl restart docker - `mvn clean package docker:build docker:start` +#### 34.4 Configure frontend to call new backend + +- `ng build` +- upload `dist/support-portal-frontend` to S3 + \ No newline at end of file diff --git a/support-portal-frontend/src/environments/environment.prod.ts b/support-portal-frontend/src/environments/environment.prod.ts index 700f169..ad046a0 100644 --- a/support-portal-frontend/src/environments/environment.prod.ts +++ b/support-portal-frontend/src/environments/environment.prod.ts @@ -1,5 +1,6 @@ export const environment = { production: true, - apiUrl: 'http://support-portal.shyshkin.net:5000', + // apiUrl: 'http://support-portal.shyshkin.net:5000', + apiUrl: 'http://dockerapp.shyshkin.net:8080', publicUrls: ['/user/login', '/user/register', '/user/*/image/**', '/user/image/**'] };