From 199fd639138844b01662786493e68f93315a30b5 Mon Sep 17 00:00:00 2001 From: Ozeliurs Date: Tue, 13 Jun 2023 18:24:11 +0200 Subject: [PATCH] feat: add new port for dev Ref. #383 --- apps/front-end/back-office/project.json | 5 ++++- apps/front-end/front-office/project.json | 5 ++++- libs/shared/environments/src/lib/environment.ts | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/front-end/back-office/project.json b/apps/front-end/back-office/project.json index 7fbd5376..18238c0d 100644 --- a/apps/front-end/back-office/project.json +++ b/apps/front-end/back-office/project.json @@ -64,10 +64,13 @@ "executor": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "browserTarget": "front-end-back-office:build:production" + "browserTarget": "front-end-back-office:build:production", + "port": 4200, + "host": "0.0.0.0" }, "development": { "host": "127.0.0.1", + "port": 4200, "browserTarget": "front-end-back-office:build:development" } }, diff --git a/apps/front-end/front-office/project.json b/apps/front-end/front-office/project.json index e27e1a93..0058f30c 100644 --- a/apps/front-end/front-office/project.json +++ b/apps/front-end/front-office/project.json @@ -60,10 +60,13 @@ "executor": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "browserTarget": "front-end-front-office:build:production" + "browserTarget": "front-end-front-office:build:production", + "port": 4201, + "host": "0.0.0.0" }, "development": { "host": "127.0.0.1", + "port": 4201, "browserTarget": "front-end-front-office:build:development" } }, diff --git a/libs/shared/environments/src/lib/environment.ts b/libs/shared/environments/src/lib/environment.ts index a5ccb356..a8e01873 100644 --- a/libs/shared/environments/src/lib/environment.ts +++ b/libs/shared/environments/src/lib/environment.ts @@ -11,9 +11,9 @@ export const environment = { secure: false, }, back_office: { - port: 8080, + port: 4201, host: '0.0.0.0', - domain: '127.0.0.1:8080', + domain: '127.0.0.1:4201', secure: false, }, api: {