Skip to content

Commit

Permalink
feat: add new port for dev
Browse files Browse the repository at this point in the history
Ref. #383
  • Loading branch information
ozeliurs committed Jun 13, 2023
1 parent 165f0c8 commit 199fd63
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion apps/front-end/back-office/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down
5 changes: 4 additions & 1 deletion apps/front-end/front-office/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down
4 changes: 2 additions & 2 deletions libs/shared/environments/src/lib/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 199fd63

Please sign in to comment.