Skip to content

Commit

Permalink
fix(angular): try to add disableHostCheck to angular.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed Jul 24, 2023
1 parent c2f1ce4 commit e29b040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/angular-uploader/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"disableHostCheck": true,
"browserTarget": "angular-uploader:build:production"
},
"development": {
"disableHostCheck": true,
"browserTarget": "angular-uploader:build:development"
}
},
Expand Down
2 changes: 1 addition & 1 deletion examples/angular-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --disable-host-check",
"start": "ng serve",
"build": "ng build --base-href \"${BASE_PATH}angular-uploader/\"",
"watch": "ng build --watch --configuration development",
"test": "ng test"
Expand Down

0 comments on commit e29b040

Please sign in to comment.