mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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
9befe37014
commit
5fd39e050b
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