PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

make the webpack server only accept connection from 127.0.01 #173

Open JanvanCasteren opened 8 years ago

JanvanCasteren commented 8 years ago

Is there some configuration option to make the server only accept connections from 127.0.01? By default it accepts connections from any host, which I don't find very secure.

pkishino commented 8 years ago

uhm, you are using browser-sync to host during development mode..for distribution you would build the dist then host it somewhere else where you can limit access.. why would you care about dev mode?

bmsdave commented 8 years ago

@JanvanCasteren, try this - https://www.browsersync.io/docs/options#option-online ;)

watch: https://github.com/BrowserSync/browser-sync/issues/352

fesor commented 7 years ago

@JanvanCasteren could I close this issue?