aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-03-11 15:07:51 -0700
committerIgor Minar2013-03-11 15:27:35 -0700
commit5727eaf76710392c5b616754ca6afc0a7a49fb57 (patch)
tree6a3acf5f377e83469693e7aee181de177301c0a3
parent346e98330c4c005044ad331aff2ccc400ad714b5 (diff)
downloadangular.js-5727eaf76710392c5b616754ca6afc0a7a49fb57.tar.bz2
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.
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 75e1f8fb..eea8b8ab 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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){