From 29de599fc463b31e79e638fce9a57310d01722ed Mon Sep 17 00:00:00 2001 From: Art Date: Sun, 26 Sep 2021 14:57:02 +0300 Subject: [PATCH] 34.4 Configure frontend to call new backend (#34, #32) --- README.md | 5 +++++ support-portal-frontend/src/environments/environment.prod.ts | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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/**'] };