mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-26 03:00:25 +00:00
chore(Gruntfile): run webserver on 0.0.0.0
... so that we can access it from local VMs. The security risk of doing this is very low since only the current working directory is being made accessible to everyone. There is also an option to run a local firewall, which is a better way to secure the developer's machine anyway.
This commit is contained in:
parent
346e98330c
commit
5727eaf767
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ module.exports = function(grunt) {
|
|||
devserver: {
|
||||
options: {
|
||||
port: 8000,
|
||||
hostname: 'localhost',
|
||||
hostname: '0.0.0.0',
|
||||
base: '.',
|
||||
keepalive: true,
|
||||
middleware: function(connect, options){
|
||||
|
|
|
|||
Loading…
Reference in a new issue