@ -285,4 +285,9 @@ systemctl restart docker
|
|||||||
|
|
||||||
- `mvn clean package docker:build docker:start`
|
- `mvn clean package docker:build docker:start`
|
||||||
|
|
||||||
|
#### 34.4 Configure frontend to call new backend
|
||||||
|
|
||||||
|
- `ng build`
|
||||||
|
- upload `dist/support-portal-frontend` to S3
|
||||||
|
|
||||||
|
|
||||||
@ -1,5 +1,6 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
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/**']
|
publicUrls: ['/user/login', '/user/register', '/user/*/image/**', '/user/image/**']
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user