Skip to content

Commit

Permalink
fix(demo): enable 'disableHostCheck' option in 'ng serve' command to …
Browse files Browse the repository at this point in the history
…prevent 'Invalid Host/Origin header' error in IE

Workaround mentioned in webpack/webpack-dev-server#1604 (comment)
  • Loading branch information
christophercr authored and SuperITMan committed Feb 27, 2020
1 parent cdd0b78 commit a1b050d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo-app/ng7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clean": "npx rimraf ./dist ./reports",
"clean:modules": "npx rimraf ./node_modules package-lock.json",
"ng": "ng",
"start": "ng serve",
"start": "ng serve --disableHostCheck=true",
"build": "ng build",
"test": "ng test",
"test:ci": "ng test --watch=false --browsers=ChromeHeadless",
Expand Down
2 changes: 1 addition & 1 deletion demo-app/ng8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"clean": "npx rimraf ./dist ./reports",
"clean:modules": "npx rimraf ./node_modules package-lock.json",
"ng": "ng",
"start": "ng serve",
"start": "ng serve --disableHostCheck=true",
"build": "ng build",
"test": "ng test",
"test:ci": "ng test --watch=false --browsers=ChromeHeadless",
Expand Down

0 comments on commit a1b050d

Please sign in to comment.