0

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

RANJITH
  • 1
  • 2

1 Answers1

0

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

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 13 '23 at 12:31