Learnt JavaScript

#TIL

Javascript, Node

If you receive this error:

Invalid Host header
You can hit with this solution: ng serve --host 0.0.0.0 --disable-host-check

Hey! you are new in Node/npm and you have a command something like this to start your project=> npm start?

Then you need to edit your package.json and change the following element in your config:
"start": "ng serve --disable-host-check",