34.4 Configure frontend to call new backend (#34, #32)

This commit is contained in:
Art
2021-09-26 14:57:02 +03:00
parent b7e91fb427
commit 29de599fc4
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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/**']
};