Open marsrobertson opened 5 years ago
IMO, serving from localhost
is a more secure default. You need to assume that seed projects are being used by everyone, that includes people that don't know what IPs are.
(though I'm not answering for the Angular team)
After looking at the docs: https://www.npmjs.com/package/http-server
I wanted to access my app from another machine.
Existing:
"start": "http-server -a localhost -p 8000 -c-1 ./app",
My config:
"start": "http-server -a 0.0.0.0 -p 8000 -c-1 ./app",
What is the reason to use
localhost
in theangular-seed
repo?