RANJITH
RANJITH

Reputation: 1

Invalid host header using gitpod

running a ionic angular code using gitpod.io is shows compile successfully message in terminal but the browser shows Invalid host header, error how to resolve this?

I'm trying to resolve this error any one can help with correct answer

Upvotes: 0

Views: 697

Answers (1)

Chaitanya V.V.S.K
Chaitanya V.V.S.K

Reputation: 11

Use "ng serve --host 0.0.0.0 --port 4200 --disable-host-check true", update npm start command in package.json accordingly

Upvotes: 1

Related Questions