Skip to content

Commit 8bca955

Browse files
committed
Disable the 'host' header check
`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
1 parent 0f628f3 commit 8bca955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Docker/alpine/skf-angular.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

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

0 commit comments

Comments
 (0)