Skip to content

Commit

Permalink
Disable the 'host' header check
Browse files Browse the repository at this point in the history
`ng serve` is running behind a reverse proxy in the docker images, so that check is somewhat pointless. For actual
production environments `ng serve` must not be used at all.

See also angular/angular-cli#6349
  • Loading branch information
ankon committed Sep 8, 2017
1 parent 0f628f3 commit 8bca955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docker/alpine/skf-angular.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

# Start the SKF Angular app
cd /skf-flask/Angular
npm start
npm start -- --disable-host-check

0 comments on commit 8bca955

Please sign in to comment.